@punks/backend-entity-manager 0.0.220 → 0.0.221
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/cjs/index.js +4 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -31987,7 +31987,10 @@ exports.SanityMediaProvider = class SanityMediaProvider {
|
|
|
31987
31987
|
const asses = await this.client.assets.upload(input.contentType && isImage(input.contentType) ? "image" : "file", input.content, {
|
|
31988
31988
|
contentType: input.contentType,
|
|
31989
31989
|
filename: input.fileName,
|
|
31990
|
-
|
|
31990
|
+
source: {
|
|
31991
|
+
id: buildFolderTag(input.folderId),
|
|
31992
|
+
name: "media-upload",
|
|
31993
|
+
},
|
|
31991
31994
|
});
|
|
31992
31995
|
return {
|
|
31993
31996
|
ref: buildRef({
|