Skip to content

Commit 06ef96f

Browse files
authored
Fix fetching jobs list with master key (#656)
1 parent 59c18b1 commit 06ef96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/stores/JobsStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function JobsStore(state, action) {
3030
return Parse.Promise.as(state);
3131
}
3232
path = `cloud_code/jobs?per_page=50`;
33-
return Parse._request('GET', path).then((results) => {
33+
return Parse._request('GET', path, {}, { useMasterKey: true}).then((results) => {
3434
return Map({ lastFetch: new Date(), jobs: List(results) });
3535
});
3636
case ActionTypes.CREATE:

0 commit comments

Comments
 (0)