fix: PrivateKeyを文字列にする処理を修正

This commit is contained in:
usbharu 2023-04-28 17:54:42 +09:00
parent 25b6f8caea
commit 8893f8c398
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class UserService(private val userRepository: IUserRepository, private val userA
outbox = "${Config.configData.url}/users/$nextId/outbox",
url = "${Config.configData.url}/users/$nextId",
publicKey = keyPair.public.toPem(),
privateKey = keyPair.private.toString(),
privateKey = keyPair.private.toPem(),
Instant.now()
)
return userRepository.save(userEntity)