Skip to content

Commit

Permalink
fix(core): fix the wrong status code
Browse files Browse the repository at this point in the history
fix the wrong status code
  • Loading branch information
simeng-li committed Jul 25, 2024
1 parent 21544ef commit 5ddddbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/routes/experience/profile-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ export default function interactionProfileRoutes<T extends WithLogContext>(
body: z.object({
codes: z.array(z.string()),
}),
status: [200, 400, 403, 404, 422],
status: [204, 400, 403, 404, 422],
}),
async (ctx, next) => {
const { experienceInteraction } = ctx;
Expand Down

0 comments on commit 5ddddbc

Please sign in to comment.