mirror of
https://codeberg.org/beerbrawl/beerbrawl.git
synced 2024-09-23 01:30:52 +02:00
feat(#33); fix
This commit is contained in:
parent
4f041b91fa
commit
d30cdcb57e
|
@ -44,7 +44,6 @@ export class ImageUploadComponent {
|
|||
const formDataImage = new FormData();
|
||||
formDataImage.append('sharedMediaCreateDto', new Blob([JSON.stringify(createDto)]));
|
||||
formDataImage.append('image', this.providedImage);
|
||||
const req: CreateSharedMediaRequest = { multipartFormData: formDataImage };
|
||||
this.imageUploadService.createSharedMedia(createDto, this.providedImage).subscribe({
|
||||
next: () => {
|
||||
console.log('Succesfully created');
|
||||
|
|
Loading…
Reference in a new issue