We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6965fc8 commit b6e0757Copy full SHA for b6e0757
src/people/widgetViews/workspace/EditWorkspaceModal.tsx
@@ -206,9 +206,13 @@ const EditWorkspaceModal = (props: EditWorkspaceModalProps) => {
206
const formData = new FormData();
207
if (rawSelectedFile) {
208
formData.append('file', rawSelectedFile);
209
+ console.log("Form Data: " + formData)
210
const file = await main.uploadFile(formData);
211
+ console.log("File: " + file)
212
if (file && file.ok) {
213
img = await file.json();
214
+ }else{
215
+ alert("Failed to upload file")
216
}
217
218
0 commit comments