You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside dataResolver.ts, method resolve(headers: any, data: any) the line n. 44 is: formData.append(key, data[key].value, { filename: data[key].filename });
maybe should be: formData.append(key, data[key].value, data[key].filename);
Best regards,
Daniele
The text was updated successfully, but these errors were encountered:
Hello,
I've the following api service's method:
I'm calling it (from an Angular project) with the following code:
When I call the uploadAction method the "filename field" is the string: "[object Object]" instead of the "textual name of file".
Inside
dataResolver.ts
, methodresolve(headers: any, data: any)
the line n. 44 is:formData.append(key, data[key].value, { filename: data[key].filename });
maybe should be:
formData.append(key, data[key].value, data[key].filename);
Best regards,
Daniele
The text was updated successfully, but these errors were encountered: