Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Various fixes to apps & snapshots methods.
- Loading branch information
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9cea327
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The commit message doesn't really provide any useful context for the changes. What was the actual reason that you default the result to
res.statusCode
? It seems to me that it will break more than fix.. As most of the responses from the API would be an object and if you return a number instead, it will just run in to a cluster fuck.