Merge branch 'julius-dev' of Software_Engineering_I/greenvironment-frontend into master

master
Trivernis 5 years ago committed by Gitea
commit 593b1e8b04

@ -207,7 +207,7 @@ export class FeedService extends BaseService {
const formData = new FormData(); const formData = new FormData();
formData.append('postMedia', file); formData.append('postMedia', file);
formData.append('postId', postId.toString()); formData.append('postId', postId.toString());
return this.post<IFileUploadResult>(environment.greenvironmentUrl + '/upload', formData); return this.post<IFileUploadResult>(environment.greenvironmentUrl + '/upload', formData, null, 0);
} }
/** /**

Loading…
Cancel
Save