From 5195793a3d019555183b0b1dbfb5eb2be5d1d127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Thu, 21 Jun 2018 10:23:41 +0200 Subject: [PATCH] Use text responseType --- .../module/avatar-upload-form/avatar-upload-form.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(