Closed McHeisenburglar closed 1 year ago
AreaNotificationsSignup
email: string;
areaDescription: string // this makes no fucking sense so this will be iterated on
createdAt: string (ISO Date);
consentedAt: string (ISO Date) // same as createdAt, important to track this separately for GDPR reasons
revokedAt?: string (ISO Date) | null;
sendAreaNotificationsEmail
interface EmailProps {
detail: {
fullDocument: {
email: string;
areaDescription: string;
consentId: string;
createdAt: string;
consentedAt: string; // same as createdAt, important to track this separately for GDPR reasons
revokedAt?: string | null;
};
};
}
Adjust Frontend to send data according to the agreed interface.
Area notification: ( Dev and Production )