Skip to content

Commit

Permalink
Fix reporUrl on sync-report & upload apis (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcampos authored Jul 24, 2024
1 parent 7445b0c commit c367627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/api/src/routes/sync-report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const syncReportRoute: FastifyPluginAsync = async function (server) {
return reply.code(200).send({
results,
reportId,
reportUrl: `https://ratemyopenapi.com/rating/${reportId}`,
reportUrl: `https://ratemyopenapi.com/report/${reportId}`,
});
},
});
Expand Down
2 changes: 1 addition & 1 deletion apps/api/src/routes/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const uploadRoute: FastifyPluginAsync = async function (server) {

reply.send({
reportId,
reportUrl: `https://ratemyopenapi.com/rating/${reportId}`,
reportUrl: `https://ratemyopenapi.com/report/${reportId}`,
});
},
});
Expand Down

0 comments on commit c367627

Please sign in to comment.