Skip to content

Commit 925bafc

Browse files
committed
fix typo in exception message
1 parent 1cca7fc commit 925bafc

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/no/nav/security/mock/oauth2/debugger

1 file changed

+1
-1
lines changed

src/main/kotlin/no/nav/security/mock/oauth2/debugger/Client.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ internal fun OkHttpClient.post(tokenRequest: TokenRequest): String =
7777
.url(tokenRequest.url)
7878
.post(tokenRequest.body.toRequestBody("application/x-www-form-urlencoded".toMediaType()))
7979
.build()
80-
).execute().body?.string() ?: throw RuntimeException("could not get responsebody from url=${tokenRequest.url}")
80+
).execute().body?.string() ?: throw RuntimeException("could not get response body from url=${tokenRequest.url}")

0 commit comments

Comments
 (0)