File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11// todo : encodeURIComponent usage?
2+ // todo : https://github.com/Swizec/better-fetch implemntation
23const castArray = a => Array . isArray ( a ) ?a :[ a ] ;
34const prefix = p => s => p + s ;
45const join = ( d = ',' ) => a => castArray ( a ) . join ( d ) ;
@@ -64,4 +65,4 @@ export default (baseUrl, config={})=>{
6465 me :( ) => _fetch ( 'GET' , null , [ 'me' ] )
6566 //,openapi:()=>_fetch('GET',null,['openapi'])
6667 } ;
67- } ;
68+ } ;
Original file line number Diff line number Diff line change 11// todo : encodeURIComponent usage?
2+ // todo : https://github.com/Swizec/better-fetch implemntation
23const castArray = a => Array . isArray ( a ) ?a :[ a ] ;
34const prefix = p => s => p + s ;
45const join = ( d = ',' ) => a => castArray ( a ) . join ( d ) ;
@@ -66,4 +67,4 @@ var index = (baseUrl, config={})=>{
6667 } ;
6768} ;
6869
69- export default index ;
70+ export { index as default } ;
You can’t perform that action at this time.
0 commit comments