Merge pull request #4710 from GabrielInTheWorld/util-fixes
Hotfix: MediaUpload went wrong...
This commit is contained in:
commit
8403b4622d
@ -67,7 +67,7 @@ export class MediafileRepositoryService extends BaseRepository<ViewMediafile, Me
|
||||
*/
|
||||
public async uploadFile(file: FormData): Promise<Identifiable> {
|
||||
const emptyHeader = new HttpHeaders();
|
||||
return this.httpService.post<Identifiable>('`/rest/mediafiles/mediafile/', file, {}, emptyHeader);
|
||||
return this.httpService.post<Identifiable>('/rest/mediafiles/mediafile/', file, {}, emptyHeader);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user