Can update admin general settings

This commit is contained in:
2021-05-13 17:17:22 +02:00
parent 6dde0f40c4
commit 163ff8471a
3 changed files with 28 additions and 5 deletions

View File

@ -127,7 +127,7 @@ export class AccountHelper {
* @param a New settings
*/
static async UpdateGeneralSettings(s: NewAdminGeneralSettings) {
await serverRequest("admins/update_general_settings", {
await serverRequest("accounts/update_general_settings", {
id: s.id,
name: s.name,
email: s.email,