async subscribe()

in client/components/mma/identity/identity.ts [97:105]


	async subscribe(option: ConsentOption): Promise<void> {
		if (isNewsletter(option)) {
			return NewslettersAPI.update(option.id, true);
		} else if (isSupportReminderConsent(option)) {
			return SupportRemindersApi.update(option.id, true);
		} else {
			return ConsentsAPI.update(option.id, true);
		}
	},