recurrents
This commit is contained in:
@@ -65,7 +65,7 @@ class AuthService(
|
||||
|
||||
fun tgAuth(tgUser: UserDTO.TelegramAuthDTO): String {
|
||||
val user: User = try {
|
||||
tgLogin(tgUser.id)
|
||||
tgLogin(tgUser.id!!)
|
||||
} catch (e: NotFoundException) {
|
||||
registerTg(tgUser)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user