Skip to content

Commit

Permalink
tried fixing register
Browse files Browse the repository at this point in the history
  • Loading branch information
elahemrtz committed Feb 6, 2021
1 parent 9563545 commit 0d59233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/com/Resources/JSONs/AccountRelated/Admin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"firstName":"ed","lastName":"ed","username":"ed","password":"ed","userID":"464565","email":"[email protected]","phoneNum":"0912334457","pfpUrl":"https://i.imgur.com/IIyNCG4.png"}
1 change: 1 addition & 0 deletions src/com/plato/Controller/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public void run () {
String[] receivedInfo = received.split("_");
System.out.println("receivedInfo = " + Arrays.toString(receivedInfo));
//System.out.println(token);
System.out.println(receivedInfo);
switch (receivedInfo[0]) {
case "getAllAccounts":
dataOutputStream.writeUTF(MainController.getInstance().getGson().toJson(Account.getAccounts()));
Expand Down

0 comments on commit 0d59233

Please sign in to comment.