DATABASE FIX
This commit is contained in:
parent
710ee00e4f
commit
b6a543b0a7
1 changed files with 2 additions and 2 deletions
|
|
@ -174,7 +174,7 @@ public class Rethink {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
r.table("server").get(server.getId()).update(object).run(conn);
|
r.table("server").get(server.getId()).update(object.toMap()).run(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void pushUser(RethinkUser user) {
|
public void pushUser(RethinkUser user) {
|
||||||
|
|
@ -188,7 +188,7 @@ public class Rethink {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
r.table("user").get(user.getId()).update(object).run(conn);
|
r.table("user").get(user.getId()).update(object.toMap()).run(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue