Fix unsubscribe from market resolution emails

This commit is contained in:
James Grugett 2022-03-09 12:27:12 -06:00
parent 79bd299b68
commit d12189ae08

View File

@ -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' && {