Skip to content

Commit b29e56d

Browse files
committed
fix: update API path for S3 upload URL to file upload URL
1 parent dbb2460 commit b29e56d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom/quillEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async function saveToServer(file: File) {
121121
const originalExtension = file.name.split('.').pop();
122122
// send fd to s3
123123
const { uploadUrl, tagline, previewUrl, s3Path, error } = await callAdminForthApi({
124-
path: `/plugin/${props.meta.uploadPluginInstanceId}/get_s3_upload_url`,
124+
path: `/plugin/${props.meta.uploadPluginInstanceId}/get_file_upload_url`,
125125
method: 'POST',
126126
body: {
127127
originalFilename,

0 commit comments

Comments
 (0)