Commit fb0d8522 authored by Ayush's avatar Ayush

Resolve conflicts and code optimization

parent ecbe5f33
...@@ -40,8 +40,8 @@ export class FileService { ...@@ -40,8 +40,8 @@ export class FileService {
upload2(file): Observable<any> { upload2(file): Observable<any> {
const formData = new FormData(); const formData = new FormData();
formData.append("file", file, file.name); formData.append('file', file, file.name);
return this.http.post(this.uploadUrl, formData) return this.http.post(this.uploadUrl, formData);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment