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 24ec437Copy full SHA for 24ec437
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