Hotfix: MediaUpload went wrong...

This commit is contained in:
GabrielMeyer 2019-05-14 14:10:58 +02:00
parent ae107dc0d1
commit 5ad70bd02d

View File

@ -67,7 +67,7 @@ export class MediafileRepositoryService extends BaseRepository<ViewMediafile, Me
*/ */
public async uploadFile(file: FormData): Promise<Identifiable> { public async uploadFile(file: FormData): Promise<Identifiable> {
const emptyHeader = new HttpHeaders(); const emptyHeader = new HttpHeaders();
return this.httpService.post<Identifiable>('`/rest/mediafiles/mediafile/', file, {}, emptyHeader); return this.httpService.post<Identifiable>('/rest/mediafiles/mediafile/', file, {}, emptyHeader);
} }
/** /**