mirror of https://github.com/usbharu/Hideout.git
fix: PrivateKeyを文字列にする処理を修正
This commit is contained in:
parent
25b6f8caea
commit
8893f8c398
|
@ -71,7 +71,7 @@ class UserService(private val userRepository: IUserRepository, private val userA
|
||||||
outbox = "${Config.configData.url}/users/$nextId/outbox",
|
outbox = "${Config.configData.url}/users/$nextId/outbox",
|
||||||
url = "${Config.configData.url}/users/$nextId",
|
url = "${Config.configData.url}/users/$nextId",
|
||||||
publicKey = keyPair.public.toPem(),
|
publicKey = keyPair.public.toPem(),
|
||||||
privateKey = keyPair.private.toString(),
|
privateKey = keyPair.private.toPem(),
|
||||||
Instant.now()
|
Instant.now()
|
||||||
)
|
)
|
||||||
return userRepository.save(userEntity)
|
return userRepository.save(userEntity)
|
||||||
|
|
Loading…
Reference in New Issue