diff --git a/functions/src/unsubscribe.ts b/functions/src/unsubscribe.ts index 25b11771..29ede67e 100644 --- a/functions/src/unsubscribe.ts +++ b/functions/src/unsubscribe.ts @@ -16,7 +16,7 @@ export const unsubscribe = functions const { name } = user const update: Partial = { - ...(type === 'market-resolve' && { + ...((type === 'market-resolve' || type === 'market-resolved') && { unsubscribedFromResolutionEmails: true, }), ...(type === 'market-comment' && {