Skip to content

Commit a66744a

Browse files
authored
Merge pull request #18 from yepcode/bugfix/YEP-3145
YEP-3145 Invalid parameter name in storage upload method
2 parents 3946a76 + 3b025ef commit a66744a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/api/yepcodeApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ export class YepCodeApi {
787787

788788
return this.request(
789789
"POST",
790-
`/storage/objects?filename=${encodeURIComponent(data.name)}`,
790+
`/storage/objects?name=${encodeURIComponent(data.name)}`,
791791
options
792792
);
793793
}

0 commit comments

Comments
 (0)