From 9f3b1fa73cd8a94354af6a4a0706d6345e167625 Mon Sep 17 00:00:00 2001 From: "Y.H LIEN" Date: Sun, 17 Sep 2023 19:08:56 +0800 Subject: [PATCH] feat: schema update new action --- lib/configs/api-gateway/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/configs/api-gateway/schema.ts b/lib/configs/api-gateway/schema.ts index a6a19368d..379b9616c 100644 --- a/lib/configs/api-gateway/schema.ts +++ b/lib/configs/api-gateway/schema.ts @@ -509,7 +509,7 @@ export const forumThreadPatchReqSchema: apigw.JsonSchema = { }, action: { type: apigw.JsonSchemaType.STRING, - enum: ["update", "like", "dislike"], + enum: ["update", "like", "dislike", "update_count"], }, }, required: ["data", "action"],