From 6905b60d97c85fc3e6d8f9e208b44b63ea459de0 Mon Sep 17 00:00:00 2001 From: BaeJunho Date: Thu, 2 Jan 2025 22:44:47 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?=EC=8B=9C=20employed=20=ED=95=84=EB=93=9C=EA=B0=80=20=ED=95=84?= =?UTF-8?q?=EC=9A=94=ED=95=9C=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/sparksInTheStep/webBoard/member/domain/Member.java | 2 +- src/main/resources/static/js/login.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/sparksInTheStep/webBoard/member/domain/Member.java b/src/main/java/com/sparksInTheStep/webBoard/member/domain/Member.java index 76ec8f6..cb2d850 100644 --- a/src/main/java/com/sparksInTheStep/webBoard/member/domain/Member.java +++ b/src/main/java/com/sparksInTheStep/webBoard/member/domain/Member.java @@ -53,7 +53,7 @@ public static Member of(MemberCommand memberCommand) { memberCommand.email(), memberCommand.nickname(), memberCommand.password(), - memberCommand.employed(), + memberCommand.employed() != null && memberCommand.employed(), memberCommand.gitLink(), memberCommand.resumeLink() ); diff --git a/src/main/resources/static/js/login.js b/src/main/resources/static/js/login.js index 905aeb8..608ab28 100644 --- a/src/main/resources/static/js/login.js +++ b/src/main/resources/static/js/login.js @@ -10,8 +10,7 @@ $(document).ready(function() { $("#login").click(function(){ var user = { email: $("#userId").val(), - password : $("#password").val(), - employed : false + password : $("#password").val() }; $.ajax({