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 update: Partial<PrivateUser> = {
|
||||
...(type === 'market-resolve' && {
|
||||
...((type === 'market-resolve' || type === 'market-resolved') && {
|
||||
unsubscribedFromResolutionEmails: true,
|
||||
}),
|
||||
...(type === 'market-comment' && {
|
||||
|
|
Loading…
Reference in New Issue
Block a user