Skip to content

Commit fbe389b

Browse files
committed
fix: lint
1 parent c98199c commit fbe389b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/CloudCode.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2545,7 +2545,7 @@ describe('beforeFind hooks', () => {
25452545
const query = new Parse.Query('MyObject');
25462546
query.equalTo('objectId', myObject.id);
25472547
await Promise.all([query.get(myObject.id), query.first(), query.find()]);
2548-
})
2548+
})
25492549
it('should run beforeFind on pointers and array of pointers from an object', async () => {
25502550
const obj1 = new Parse.Object('TestObject');
25512551
const obj2 = new Parse.Object('TestObject2');

src/Controllers/HooksController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function wrapToHTTPRequest(hook, key) {
189189
const jsonBody = {};
190190
for (var i in req) {
191191
// Parse Server config is not serializable
192-
if (i === 'config') continue;
192+
if (i === 'config') { continue; }
193193
jsonBody[i] = req[i];
194194
}
195195
if (req.object) {

0 commit comments

Comments
 (0)