From 7b201fb51563ae4c1dccd50bd2067f32946892be Mon Sep 17 00:00:00 2001 From: zkldi Date: Fri, 25 Jun 2021 18:48:30 +0100 Subject: [PATCH] update apipermissions --- common/js/types.d.ts | 2 +- common/src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 2eae93b3b..057bb49a3 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -1028,7 +1028,7 @@ export declare type RedisIPCData = { /** * All the permissions a token may have. */ -export declare type APIPermissions = "create:goal" | "manage:goal" | "submit:score"; +export declare type APIPermissions = "submit_score" | "customise_profile"; /** * Information about the API Token used to make this request. */ diff --git a/common/src/types.ts b/common/src/types.ts index 973faf45c..d81271ce8 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -1271,7 +1271,7 @@ export type RedisIPCData = { /** * All the permissions a token may have. */ -export type APIPermissions = "create:goal" | "manage:goal" | "submit:score"; +export type APIPermissions = "submit_score" | "customise_profile"; /** * Information about the API Token used to make this request.