Fix unsubscribe from market resolution emails
This commit is contained in:
parent
79bd299b68
commit
d12189ae08
|
@ -16,7 +16,7 @@ export const unsubscribe = functions
|
||||||
const { name } = user
|
const { name } = user
|
||||||
|
|
||||||
const update: Partial<PrivateUser> = {
|
const update: Partial<PrivateUser> = {
|
||||||
...(type === 'market-resolve' && {
|
...((type === 'market-resolve' || type === 'market-resolved') && {
|
||||||
unsubscribedFromResolutionEmails: true,
|
unsubscribedFromResolutionEmails: true,
|
||||||
}),
|
}),
|
||||||
...(type === 'market-comment' && {
|
...(type === 'market-comment' && {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user