Skip to content

Commit 750a77e

Browse files
committed
fix: stringify object
1 parent 62b317a commit 750a77e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/people/widgetViews/workspace/EditWorkspaceModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ const EditWorkspaceModal = (props: EditWorkspaceModalProps) => {
206206
const formData = new FormData();
207207
if (rawSelectedFile) {
208208
formData.append('file', rawSelectedFile);
209-
console.log('Form Data: ' + formData);
209+
console.log('Form Data: ' + JSON.stringify(formData));
210210
const file = await main.uploadFile(formData);
211-
console.log('File: ' + file);
211+
console.log('File: ' + JSON.stringify(file));
212212
if (file && file.ok) {
213213
img = await file.json();
214214
} else {

0 commit comments

Comments
 (0)