Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Using variable for application/json.
  • Loading branch information
ravibisht authored Nov 14, 2022
commit 9e2d792a7c77205fdbc0b33db85d0858875b874f
2 changes: 1 addition & 1 deletion src/response/AuthResponse.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ AuthResponse.prototype.getContentType = function getContentType() {
* @returns {boolean} isJson
*/
AuthResponse.prototype.isJson = function isJson() {
return this.isContentType('application/json');
return this.isContentType(AuthResponse._jsonContentType);
};


Expand Down