(email: string)
| 186 | * Resubscribe user (remove all unsubscribe flags) |
| 187 | */ |
| 188 | export async function resubscribe(email: string): Promise<boolean> { |
| 189 | return updateEmailPreferences(email, { |
| 190 | unsubscribeAll: false, |
| 191 | unsubscribeMarketing: false, |
| 192 | unsubscribeUpdates: false, |
| 193 | unsubscribeNotifications: false, |
| 194 | }) |
| 195 | } |
no test coverage detected