Open huinalam opened 1 month ago
When uploading, include record information, such as the resource ID. This is because it can be utilized to generate a URL when uploading a file.
upload: async (buffer, infos, context) => { console.log(context.resourceId); return "https://raw.githubusercontent.com/premieroctet/next-admin/33fcd755a34f1ec5ad53ca8e293029528af814ca/apps/example/public/assets/logo.svg"; },
No response
Summary
When uploading, include record information, such as the resource ID. This is because it can be utilized to generate a URL when uploading a file.
Basic Example
Drawbacks
No response
Unresolved questions
No response