Hotfix: MediaUpload went wrong...
This commit is contained in:
parent
ae107dc0d1
commit
5ad70bd02d
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user