Skip to content

Commit 8bba2ec

Browse files
committed
fix
1 parent 9627660 commit 8bba2ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/vulnerabilities.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ describe('(GHSA-qpr4-jrj4-6f27) SQL Injection via sort dot-notation field name',
884884
}).catch(() => {});
885885

886886
// Verify the data was not modified by injected SQL
887-
const verify = await new Parse.Query('InjectionTest').first();
887+
const verify = await new Parse.Query('InjectionTest').get(obj.id);
888888
expect(verify.get('name')).toBe('original');
889889
});
890890

0 commit comments

Comments
 (0)