@pelican.ts/sdk 0.3.4-next.1 → 0.3.4-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/api/application/eggs.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -1920,7 +1920,7 @@ var Eggs = class {
|
|
|
1920
1920
|
return data;
|
|
1921
1921
|
};
|
|
1922
1922
|
infoExportable = async (id) => {
|
|
1923
|
-
const { data } = await this.r.get(`/eggs/${id}/export
|
|
1923
|
+
const { data } = await this.r.get(`/eggs/${id}/export`, { params: { format: "json" } });
|
|
1924
1924
|
return data;
|
|
1925
1925
|
};
|
|
1926
1926
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -1883,7 +1883,7 @@ var Eggs = class {
|
|
|
1883
1883
|
return data;
|
|
1884
1884
|
};
|
|
1885
1885
|
infoExportable = async (id) => {
|
|
1886
|
-
const { data } = await this.r.get(`/eggs/${id}/export
|
|
1886
|
+
const { data } = await this.r.get(`/eggs/${id}/export`, { params: { format: "json" } });
|
|
1887
1887
|
return data;
|
|
1888
1888
|
};
|
|
1889
1889
|
};
|
package/package.json
CHANGED
|
@@ -30,7 +30,7 @@ export class Eggs {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
infoExportable = async (id: number): Promise<ExportedEgg> => {
|
|
33
|
-
const {data} = await this.r.get<ExportedEgg>(`/eggs/${id}/export
|
|
33
|
+
const {data} = await this.r.get<ExportedEgg>(`/eggs/${id}/export`, {params: {format: "json"}})
|
|
34
34
|
return data
|
|
35
35
|
}
|
|
36
36
|
}
|