File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 21
21
},
22
22
"dependencies" : {
23
23
"@testing-library/react-hooks" : " ^5.1.0" ,
24
- "@workgrid/client" : " ^0.0.6 " ,
24
+ "@workgrid/client" : " ^0.0.7 " ,
25
25
"react-query" : " ^3.12.2"
26
26
},
27
27
"devDependencies" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @workgrid/client" ,
3
- "version" : " 0.0.6 " ,
3
+ "version" : " 0.0.7 " ,
4
4
"main" : " dist/client.js" ,
5
5
"types" : " dist/client.d.ts" ,
6
6
"files" : [
Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ export interface Queries {
409
409
setTypedQueryDefaults ( 'getFlags' , ( client ) => ( {
410
410
queryFn : async ( context ) => {
411
411
const { spaceId } = context . queryKey [ 1 ]
412
- const response = await client . httpClient . post ( `/v1/flags` , {
412
+ const response = await client . httpClient . post ( `/v1/flags` , null , {
413
413
headers : { 'x-workgrid-space' : spaceId } ,
414
414
} )
415
415
return mapValues ( response . data . data , 'value' ) /* unwrap jsend */
You can’t perform that action at this time.
0 commit comments