Skip to content

Commit

Permalink
fix(adm): openapi schema for blockUser
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOrz committed Nov 30, 2024
1 parent c3f7c69 commit 5970626
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/adm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@ const router = createRouter({
),
},
responses: {
200: Type.Object({ success: Type.Boolean() }),
200: Type.Object({
updatedArticles: Type.Number(),
updatedReplyRequests: Type.Number(),
updatedArticleReplies: Type.Number(),
updateArticleReplyFeedbacks: Type.Number(),
}),
},
},
handler: async (request) =>
Expand Down

0 comments on commit 5970626

Please sign in to comment.