From 8fc5e250e6650075bab8e943dfb4c27d42c2f51e Mon Sep 17 00:00:00 2001 From: simeng-li Date: Sun, 15 Dec 2024 20:12:07 +0800 Subject: [PATCH] fix(core): add the missing status code (#6879) add the missing status code --- packages/core/src/routes/interaction/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/routes/interaction/index.ts b/packages/core/src/routes/interaction/index.ts index 69c0288a1d4..6acc48c7bcf 100644 --- a/packages/core/src/routes/interaction/index.ts +++ b/packages/core/src/routes/interaction/index.ts @@ -211,7 +211,7 @@ export default function interactionRoutes( `${interactionPrefix}/profile`, koaGuard({ body: profileGuard, - status: [204, 400, 404], + status: [204, 400, 404, 422], }), koaInteractionSie(queries), async (ctx, next) => {