Skip to content

Commit

Permalink
Merge pull request #105 from ngyngcphu/fix/stat-uploaded-model-api
Browse files Browse the repository at this point in the history
fix: stat/defaultModel endpoint
  • Loading branch information
HuyDNA authored Dec 31, 2023
2 parents 7b3de03 + b7c379b commit 9a06716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/apis/stat.plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const statPlugin = createRoutes('Stat', [
},
{
method: 'GET',
url: '/userModel',
url: '/defaultModel',
onRequest: [verifyToken, verifyUserRole(UserRole.MANAGER)],
schema: {
summary: 'Summarize the total uploaded default models in a given interval',
Expand Down

0 comments on commit 9a06716

Please sign in to comment.