-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
adds scriptlog endpoint #746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I think this should replace the |
} | ||
|
||
handleScriptLog(req) { | ||
const n = req.query.n; |
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.
if you call this variable size
you can construct the options object easier :)
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.
yeah dumb me sometimes
b0e60d3
to
4995260
Compare
@flovilmart updated the pull request. |
throw new Parse.Error(Parse.Error.PUSH_MISCONFIGURED, | ||
'Logger adapter is not availabe'); | ||
} | ||
enforceSecurity(req.auth); |
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.
there is a middleware for that now on master right?
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.
Yep. Thanks to @nlutsenko :)
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.
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.