forked from SteamWar/SteamWar
Starting...
This commit is contained in:
@@ -128,9 +128,9 @@ fun Route.configureSchematic() {
|
||||
|
||||
val user = call.principal<SWAuthPrincipal>()!!.user
|
||||
|
||||
var node = SchematicNode.getSchematicNode(user.id, schemName, null as Int?)
|
||||
var node = SchematicNode.getSchematicNode(user.getId(), schemName, null as Int?)
|
||||
if (node == null) {
|
||||
node = SchematicNode.createSchematic(user.id, schemName, null)
|
||||
node = SchematicNode.createSchematic(user.getId(), schemName, null)
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user