Skip to content

Commit

Permalink
minor bug in ApiResponse file
Browse files Browse the repository at this point in the history
  • Loading branch information
hiteshchoudhary committed Nov 7, 2023
1 parent 89c9dff commit 7379b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ApiResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class ApiResponse {
constructor(statusCode, data, message = "Success"){
this.statusCode = statusCode
this.data = data
this,message = message
this.message = message
this.success = statusCode < 400
}
}

0 comments on commit 7379b31

Please sign in to comment.