diff --git a/src/main/frontend/src/models/PModel.ts b/src/main/frontend/src/models/PModel.ts index 403352b..607420c 100644 --- a/src/main/frontend/src/models/PModel.ts +++ b/src/main/frontend/src/models/PModel.ts @@ -53,7 +53,7 @@ export class PModel { case "updates": break; default: - if (value) { + if (value !== null) { formData.append(column, value); } break; diff --git a/src/main/frontend/src/pages/Diary/WriteForm.tsx b/src/main/frontend/src/pages/Diary/WriteForm.tsx index 19b7ce1..5029b46 100644 --- a/src/main/frontend/src/pages/Diary/WriteForm.tsx +++ b/src/main/frontend/src/pages/Diary/WriteForm.tsx @@ -63,7 +63,7 @@ function WriteForm() { const diary = new Diary(); diary.getResponseData(values as unknown as Diary); - + console.log(diary) const diaryFormData = diary.makeFormData(); let diaryId; diff --git a/src/main/frontend/src/profiles/62f0bc8331925873285f3a47/6199fa6416a5f317d16331dafbf3f55b14fbe9e578e9989c94d816c3f1c5cc81.jpg b/src/main/frontend/src/profiles/62f0bc8331925873285f3a47/e109fea26c80332c346a479f349ee9c241d8ac1aae8fdd0e9252a88a56605fbb.jpg similarity index 100% rename from src/main/frontend/src/profiles/62f0bc8331925873285f3a47/6199fa6416a5f317d16331dafbf3f55b14fbe9e578e9989c94d816c3f1c5cc81.jpg rename to src/main/frontend/src/profiles/62f0bc8331925873285f3a47/e109fea26c80332c346a479f349ee9c241d8ac1aae8fdd0e9252a88a56605fbb.jpg