diff --git a/src/main/java/com/example/cosmos_serversb/entities/User.java b/src/main/java/com/example/cosmos_serversb/entities/User.java index e4f663a..9c0efa8 100644 --- a/src/main/java/com/example/cosmos_serversb/entities/User.java +++ b/src/main/java/com/example/cosmos_serversb/entities/User.java @@ -50,12 +50,12 @@ public User() { } - public User(String name, String uId, String uri, String iconUri) { + public User(String name, String uId, String uri, String iconUri,String token) { setuId(uId); setUri(uri); setName(name); setIconUri(iconUri); - setFirstToken(dummyToken); + setFirstToken(token); //addToken(this.dummyToken); this.login = true; }