File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 3
3
### NEXT RELEASE
4
4
5
5
* _ Contributing to this repo? Add info about your change here to be included in next release_
6
+ * Fix: Config FETCH results in 401 (#339 ), thanks to [ Matt Simms] ( https://github.com/brndmg )
6
7
7
8
### 1.0.22
8
9
18
19
* Fix: Can't send push to specific user (#570 ), thanks to [ Dan VanWinkle] ( https://github.com/dvanwinkle )
19
20
* Fix: Download link in footer menu (#567 ), thanks to [ Pavel Ivanov] ( https://github.com/pivanov )
20
21
21
-
22
22
### 1.0.19
23
23
24
24
* New: Support for trusting proxies w/ HTTPS
Original file line number Diff line number Diff line change @@ -22,8 +22,13 @@ function ConfigStore(state, action) {
22
22
action . app . setParseKeys ( ) ;
23
23
switch ( action . type ) {
24
24
case ActionTypes . FETCH :
25
- return Parse . Config . get ( ) . then ( ( { attributes } ) => {
26
- return Map ( { lastFetch : new Date ( ) , params : Map ( attributes ) } ) ;
25
+ return Parse . _request (
26
+ 'GET' ,
27
+ 'config' ,
28
+ { } ,
29
+ { useMasterKey : true }
30
+ ) . then ( ( result ) => {
31
+ return Map ( { lastFetch : new Date ( ) , params : Map ( result . params ) } ) ;
27
32
} ) ;
28
33
case ActionTypes . SET :
29
34
return Parse . _request (
You can’t perform that action at this time.
0 commit comments