1
0
Fork 0
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:
Rafael Tanzer 2024-06-24 17:27:05 +02:00
parent 4f041b91fa
commit d30cdcb57e

View file

@ -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');