We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e259b commit fc4ebd6Copy full SHA for fc4ebd6
src/lib/stores/ConfigStore.js
@@ -22,8 +22,13 @@ function ConfigStore(state, action) {
22
action.app.setParseKeys();
23
switch (action.type) {
24
case ActionTypes.FETCH:
25
- return Parse.Config.get().then(({ attributes }) => {
26
- return Map({ lastFetch: new Date(), params: Map(attributes) });
+ return Parse._request(
+ 'GET',
27
+ 'config',
28
+ {},
29
+ { useMasterKey: true }
30
+ ).then((result) => {
31
+ return Map({ lastFetch: new Date(), params: Map(result.params) });
32
});
33
case ActionTypes.SET:
34
return Parse._request(
0 commit comments