diff --git a/src/pages/api/planets/getAllPlanets.ts b/src/pages/api/planets/getAllPlanets.ts index c9c5ec8..098fdb3 100644 --- a/src/pages/api/planets/getAllPlanets.ts +++ b/src/pages/api/planets/getAllPlanets.ts @@ -17,6 +17,10 @@ export const GET: APIRoute = async ({ request }) => { }); return new Response( - JSON.stringify(response) + JSON.stringify({ + code: 200, + message: "OK", + data: response + }) ); } \ No newline at end of file