diff --git a/client/.idea/workspace.xml b/client/.idea/workspace.xml
index 6ce37b49..8ecb125f 100644
--- a/client/.idea/workspace.xml
+++ b/client/.idea/workspace.xml
@@ -6,8 +6,6 @@
-
-
@@ -43,24 +41,24 @@
- {
- "keyToString": {
- "RunOnceActivity.OpenProjectViewOnStart": "true",
- "RunOnceActivity.ShowReadmeOnStart": "true",
- "RunOnceActivity.cidr.known.project.marker": "true",
- "cf.first.check.clang-format": "false",
- "cidr.known.project.marker": "true",
- "dart.analysis.tool.window.visible": "false",
- "git-widget-placeholder": "feature/114-마진-패딩값-조정-에러-처리-함수수정",
- "io.flutter.reload.alreadyRun": "true",
- "last_opened_file_path": "E:/wap/2024-1_App1/client/front",
- "project.structure.last.edited": "Modules",
- "project.structure.proportion": "0.15",
- "project.structure.side.proportion": "0.2",
- "settings.editor.selected.configurable": "reference.settingsdialog.project.gradle",
- "show.migrate.to.gradle.popup": "false"
+
+}]]>
diff --git a/client/front/lib/sign_up.dart b/client/front/lib/sign_up.dart
index 53525fc8..56cc1cb9 100644
--- a/client/front/lib/sign_up.dart
+++ b/client/front/lib/sign_up.dart
@@ -59,11 +59,8 @@ class _SignUpScreenState extends State {
else {
Map json = jsonDecode(response.body);
Error error = Error.fromJson(json);
- if(response.statusCode == 400)
+ if(error.code == "DUPLICATE_DATA")
{
- print(error.httpStatus+'\n');
- print(error.message+'\n');
- print(error.code+'\n');
showDialog(
context: context,
builder: (BuildContext context) {
@@ -81,11 +78,8 @@ class _SignUpScreenState extends State {
},
);
}
- else if(response.statusCode == 415)
+ else if(error.code == "INVALID_FORMAT")
{
- print(error.httpStatus+'\n');
- print(error.message+'\n');
- print(error.code+'\n');
showDialog(
context: context,
builder: (BuildContext context) {