Conversation
|
I think this should replace the |
src/Routers/LogsRouter.js
Outdated
| } | ||
|
|
||
| handleScriptLog(req) { | ||
| const n = req.query.n; |
There was a problem hiding this comment.
if you call this variable size you can construct the options object easier :)
There was a problem hiding this comment.
yeah dumb me sometimes
b0e60d3 to
4995260
Compare
|
@flovilmart updated the pull request. |
src/Routers/LogsRouter.js
Outdated
| throw new Parse.Error(Parse.Error.PUSH_MISCONFIGURED, | ||
| 'Logger adapter is not availabe'); | ||
| } | ||
| enforceSecurity(req.auth); |
There was a problem hiding this comment.
there is a middleware for that now on master right?
There was a problem hiding this comment.
middleware.promiseEnforceMasterKeyAccess ;)
|
@flovilmart updated the pull request. |
|
Feel free to merge with the middleware or do that later |
bf7cd09 to
63dc640
Compare
|
@flovilmart updated the pull request. |
No description provided.