From f9b1422247fe8aab19d4f368c737466927236d89 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 26 Jan 2023 16:45:43 -0500 Subject: [PATCH] fix: schema changes for b860c2605c209e0650ef98f4c80d842ea23a51ce --- public/openapi/read/admin/manage/admins-mods.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/public/openapi/read/admin/manage/admins-mods.yaml b/public/openapi/read/admin/manage/admins-mods.yaml index ba922850e9..c5db50d839 100644 --- a/public/openapi/read/admin/manage/admins-mods.yaml +++ b/public/openapi/read/admin/manage/admins-mods.yaml @@ -97,11 +97,11 @@ get: type: array items: $ref: ../../../components/schemas/UserObject.yaml#/UserObjectSlim + subCategoryCount: + type: number selectedCategory: - $ref: ../../../components/schemas/CategoryObject.yaml#/CategoryObject - allPrivileges: - type: array - items: - type: string - description: A simple array containing user privilege names (used client-side when giving mod privilege) + nullable: true + anyOf: + - $ref: ../../../components/schemas/CategoryObject.yaml#/CategoryObject + - $ref: ../../../components/schemas/Pagination.yaml#/Pagination - $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps \ No newline at end of file