Skip to content

Commit

Permalink
Update ErrorResponse.java
Browse files Browse the repository at this point in the history
  • Loading branch information
qlido authored Mar 12, 2024
1 parent b93296c commit a6c8edb
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ public class ErrorResponse {
private String message;

public String toString() {
return "{\n" +
"\t\"status\": " + status +
"\n\t\"code\": " + code +
"\n\t\"message\": " + message +
"\n}";
return "{" +
"\n\t\"status\": " + status + "," +
"\n\t\"code\": \" " + code + "\"," +
"\n\t\"message\": \" " + message + "\""
\n}";
}
}

0 comments on commit a6c8edb

Please sign in to comment.