File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -143,9 +143,9 @@ Please change it to have "private" or "public" access.`);
143
143
} ;
144
144
145
145
const form = new FormData ( ) ;
146
- form . append ( 'path ' , asset . path ) ;
147
- form . append ( 'visibility ' , asset . access ) ;
148
- form . append ( 'content ' , asset . content , contentOpts ) ;
146
+ form . append ( 'Path ' , asset . path ) ;
147
+ form . append ( 'Visibility ' , asset . access ) ;
148
+ form . append ( 'Content ' , asset . content , contentOpts ) ;
149
149
150
150
const resp = await client . post (
151
151
`/Services/${ serviceSid } /Assets/${ asset . sid } /Versions` ,
Original file line number Diff line number Diff line change @@ -140,9 +140,9 @@ Please change it to have 'protected' access or deploy it as an asset.`);
140
140
} ;
141
141
142
142
const form = new FormData ( ) ;
143
- form . append ( 'path ' , fn . path ) ;
144
- form . append ( 'visibility ' , fn . access ) ;
145
- form . append ( 'content ' , fn . content , contentOpts ) ;
143
+ form . append ( 'Path ' , fn . path ) ;
144
+ form . append ( 'Visibility ' , fn . access ) ;
145
+ form . append ( 'Content ' , fn . content , contentOpts ) ;
146
146
147
147
const resp = await client . post (
148
148
`/Services/${ serviceSid } /Functions/${ fn . sid } /Versions` ,
You can’t perform that action at this time.
0 commit comments