From 21f0f1d7b3bf525ae98ce797ead8f6edcca45fee Mon Sep 17 00:00:00 2001 From: usbharu Date: Thu, 19 Oct 2023 13:44:23 +0900 Subject: [PATCH] Apply suggestions from code review Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .../kotlin/dev/usbharu/hideout/config/HttpClientConfig.kt | 1 - .../dev/usbharu/hideout/service/ap/APRequestServiceImpl.kt | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/dev/usbharu/hideout/config/HttpClientConfig.kt b/src/main/kotlin/dev/usbharu/hideout/config/HttpClientConfig.kt index f25b2a4b..0daa4aa0 100644 --- a/src/main/kotlin/dev/usbharu/hideout/config/HttpClientConfig.kt +++ b/src/main/kotlin/dev/usbharu/hideout/config/HttpClientConfig.kt @@ -19,5 +19,4 @@ class HttpClientConfig { } expectSuccess = true } - } diff --git a/src/main/kotlin/dev/usbharu/hideout/service/ap/APRequestServiceImpl.kt b/src/main/kotlin/dev/usbharu/hideout/service/ap/APRequestServiceImpl.kt index 4c61bfb2..3106f131 100644 --- a/src/main/kotlin/dev/usbharu/hideout/service/ap/APRequestServiceImpl.kt +++ b/src/main/kotlin/dev/usbharu/hideout/service/ap/APRequestServiceImpl.kt @@ -125,7 +125,9 @@ class APRequestServiceImpl( val sign = httpSignatureSigner.sign( httpRequest = HttpRequest( - u, HttpHeaders(headers.toMap()), HttpMethod.POST + u, + HttpHeaders(headers.toMap()), + HttpMethod.POST ), privateKey = PrivateKey( keyId = signer.keyId,