From 1d6cca58c25ef770e3fb77880d5a022591a458e2 Mon Sep 17 00:00:00 2001 From: Raymond Yang Date: Mon, 15 May 2023 17:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=AD=A3=E8=B3=87=E6=96=99=E5=BA=AB?= =?UTF-8?q?=E5=90=8D=E7=A8=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/com/ray650128/service/UserService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/ray650128/service/UserService.kt b/src/main/kotlin/com/ray650128/service/UserService.kt index 5dfcc1d..5163ec0 100644 --- a/src/main/kotlin/com/ray650128/service/UserService.kt +++ b/src/main/kotlin/com/ray650128/service/UserService.kt @@ -7,7 +7,7 @@ import org.litote.kmongo.id.toId class UserService { private val client = KMongo.createClient("mongodb://www.ray650128.com:27017") - private val database = client.getDatabase("users") + private val database = client.getDatabase("ar_system") private val userCollection = database.getCollection() fun create(user: User): Id? {