Skip to content

Commit 349a4d1

Browse files
authored
Merge pull request #90 from rui-ferreira/patch-1
Fix typo in unauthorized response
2 parents 838dcca + 4f82ee1 commit 349a4d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oauth2-server-core/src/main/java/nl/myndocs/oauth2/CallRouter.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CallRouter(
2929
const val STATUS_BAD_REQUEST = 400
3030
const val STATUS_UNAUTHORIZED = 401
3131

32-
private val unauthorizedResponse = mapOf("message" to "anauthorized")
32+
private val unauthorizedResponse = mapOf("message" to "unauthorized")
3333
}
3434

3535
fun route(callContext: CallContext) {
@@ -190,4 +190,4 @@ class CallRouter(
190190
this.respondStatus(STATUS_UNAUTHORIZED)
191191
this.respondJson(unauthorizedResponse)
192192
}
193-
}
193+
}

0 commit comments

Comments
 (0)