Skip to content

Commit

Permalink
Update CreateForm.java
Browse files Browse the repository at this point in the history
  • Loading branch information
alina-z7 committed Dec 6, 2024
1 parent c4a2a9f commit 3a7c47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/project/pages/CreateForm.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void actionPerformed(ActionEvent e) {

public long createMember(Member m, int md) {
try {
Connection conn = DriverManager.getConnection(DB_URL, DB_USERNAME, DB_PASSWORD);
Connection conn = DriverManager.getConnection(.DB_URL, DB_USERNAME, DB_PASSWORD);
switch (checkIfMemberExists(m, conn)) {
case 1 -> throw new Exception("Email Already Exists In System");
case 2 -> throw new Exception("Phone Number Already Exists In System");
Expand Down

0 comments on commit 3a7c47f

Please sign in to comment.