diff --git a/frontend/module/avatar-upload-form/avatar-upload-form.component.ts b/frontend/module/avatar-upload-form/avatar-upload-form.component.ts index 724824308d..2b9edc9c48 100644 --- a/frontend/module/avatar-upload-form/avatar-upload-form.component.ts +++ b/frontend/module/avatar-upload-form/avatar-upload-form.component.ts @@ -84,7 +84,7 @@ export class AvatarUploadFormComponent implements OnInit { public uploadAvatar(evt:Event) { evt.preventDefault(); this.busy = true; - const upload = this.opFileUpload.uploadSingle(this.target, this.avatarFile, this.method); + const upload = this.opFileUpload.uploadSingle(this.target, this.avatarFile, this.method, 'text'); this.notificationsService.addWorkPackageUpload(this.text.uploading, [upload]); upload[1].subscribe(