fix: ユーザーの作成に失敗するのを修正

This commit is contained in:
usbharu 2023-04-10 00:47:38 +09:00
parent fc051d2061
commit c719716860
1 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,9 @@ class UserRepository(private val database: Database) : IUserRepository {
it[domain] = user.domain
it[screenName] = user.screenName
it[description] = user.description
it[inbox] = user.inbox
it[outbox] = user.outbox
it[url] = user.url
}[Users.id].value, user)
}
}
@ -134,6 +137,9 @@ class UserRepository(private val database: Database) : IUserRepository {
it[domain] = userEntity.domain
it[screenName] = userEntity.screenName
it[description] = userEntity.description
it[inbox] = userEntity.inbox
it[outbox] = userEntity.outbox
it[url] = userEntity.url
}
}
}