fix: remove leading space in upload file endpoint URL
This commit is contained in:
@@ -159,7 +159,7 @@ class RestService {
|
||||
async uploadFile(file: FormData): Promise<ApiResponse<{ message: string, objectKey: string }>> {
|
||||
return this.request<ApiResponse<{ message: string, objectKey: string }>>(
|
||||
'POST',
|
||||
' /storage/upload',
|
||||
'/storage/upload',
|
||||
file,
|
||||
{'Content-Type': 'multipart/form-data'}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user