Skip to content

Commit

Permalink
Revert "backend: dev_api_response: remove warning message"
Browse files Browse the repository at this point in the history
This reverts commit bd573e6.
  • Loading branch information
ericswpark committed Apr 25, 2024
1 parent 3a72e25 commit e9a72d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/src/app/api/v0/dev_api_response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export function construct_development_api_response({
return NextResponse.json(
{
message,
warning:
"You are calling a development API! The schema may change without warning.",
[response_name]: response_data,
},
{ status: status_code },
Expand All @@ -40,6 +42,8 @@ export function construct_development_api_response({
return NextResponse.json(
{
message,
warning:
"You are calling a development API! The schema may change without warning.",
},
{ status: status_code },
);
Expand Down

0 comments on commit e9a72d6

Please sign in to comment.