You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the dashboard, under "Core | Config" , I am able to save global config variables. However, when I go back to the dashboard, the config variables are not displaying due to a 403 unauthorized.
I can, however, go use postman: http://localhost:1337/parse/config and pass the masterkey/application id in the header and it displays all the configs I have added.
When using the dashboard, under "Core | Config" , I am able to save global config variables. However, when I go back to the dashboard, the config variables are not displaying due to a 403 unauthorized.
I can, however, go use postman: http://localhost:1337/parse/config and pass the masterkey/application id in the header and it displays all the configs I have added.
I have "fixed" it by changing the ConfigStore.js
switch (action.type) {
case ActionTypes.FETCH:
return Parse._request(
'GET',
'config',
{ params: { [action.param]: Parse._encode(action.value) } },
{ useMasterKey: true }
).then(( attributes ) => {
console.log(attributes);
return Map({ lastFetch: new Date(), params: Map(attributes.params) });
});
Is this the correct way of fixing it? If not, what suggestions would you have?
Thanks!
The text was updated successfully, but these errors were encountered: