mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +00:00
chore: resolves bug resulting form folder update
Co-authored-by: raph941 <raph941@gmail.com> Co-authored-by: oxenprogrammer <emmy1000okello@gmail.com> Co-authored-by: gitstart_bot <gitstart_bot@users.noreply.github.com>
This commit is contained in:
parent
bd3f5b1ae3
commit
dbd718e10c
@ -21,7 +21,7 @@ const editAssetRequest = (asset, file, cancelToken, onProgress, post) => {
|
|||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
alternativeText: asset.alternativeText,
|
alternativeText: asset.alternativeText,
|
||||||
caption: asset.caption,
|
caption: asset.caption,
|
||||||
folder: asset.folder?.id,
|
folder: asset.folder,
|
||||||
name: asset.name,
|
name: asset.name,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user