diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 057bb49a3..17c2de74c 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 = "submit_score" | "customise_profile"; +export declare type APIPermissions = "submit_score" | "customise_profile" | "customise_session"; /** * Information about the API Token used to make this request. */ diff --git a/common/src/types.ts b/common/src/types.ts index d81271ce8..95f6fb440 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 = "submit_score" | "customise_profile"; +export type APIPermissions = "submit_score" | "customise_profile" | "customise_session"; /** * Information about the API Token used to make this request.