Skip to content

Commit

Permalink
chore: better success message upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Mokto committed May 11, 2024
1 parent 058445a commit c1d0eb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/routes/api/openapi/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ export const PUT: RequestHandler = async ({ request, url }) => {
error(400, 'No operations or webhooks found in the provided JSON.');
}

return json({});
return json({
success: true
});
};

0 comments on commit c1d0eb9

Please sign in to comment.