[Glitch] Add email subscriptions to profiles in web UI

Port 93dcca7f12 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko authored and Claire committed 2026-04-01 19:22:19 +02:00
1 parent f403449c68
commit c315d27f3c
7 files changed
+301

No files matched your search

@@ -75,3 +75,6 @@ export const apiDeleteProfileAvatar = () =>
export const apiDeleteProfileHeader = () =>
apiRequestDelete('v1/profile/header');
export const apiSubscribeByEmail = (id: string, email: string) =>
apiRequestPost(`v1/accounts/${id}/email_subscriptions`, { email });