This commit is contained in:
Gregoire Parant
2020-09-23 18:44:24 +02:00
parent 3cb079c80c
commit 7584c3a04d
3 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ export class Connection implements Connection {
}
public uploadAudio(file : FormData){
return Axios.post(`${API_URL}/upload-audio-message`, file).then((res: any) => {
return Axios.post(`${API_URL}/upload-audio-message`, file).then((res: {data:{}}) => {
return res.data;
}).catch((err) => {
console.error(err);