Terms of use confirmation

This commit is contained in:
Inga Kirschnick
2023-04-13 16:08:07 +02:00
parent 144bb38d75
commit 8538fc705f
10 changed files with 198 additions and 2 deletions

View File

@ -13,4 +13,12 @@ Requests.users.entity.settings.profilePrivacy.update = (userId, profilePrivacySe
body: JSON.stringify(enabled)
};
return Requests.JSONfetch(input, init);
}
};
Requests.users.entity.settings.acceptTermsOfUse = () => {
let input = `/users/accept-terms-of-use`;
let init = {
method: 'POST'
};
return Requests.JSONfetch(input, init);
};