We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ef39ed commit a556149Copy full SHA for a556149
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "@quest-chains/sdk",
3
"description": "An SDK for building applications on top of Quest Chains",
4
- "version": "0.2.9",
+ "version": "0.2.10",
5
"license": "GPL-3.0",
6
"main": "dist/index.js",
7
"typings": "dist/index.d.ts",
src/metadata/metadata.ts
@@ -71,7 +71,7 @@ export class MetadataUploader extends EventEmitter {
71
72
try {
73
const res = await axios.post(`${apiUrl ?? this.apiUrl}/upload/files`, formData, config);
74
- return res.data.response;
+ return res.data.response['/'];
75
} catch (error) {
76
throw new Error(((error as AxiosError).response?.data as HttpResponse).error);
77
}
0 commit comments