Skip to content

Commit

Permalink
Backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sandmman committed May 21, 2018
1 parent f3b57f4 commit 1ae75dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/BluemixAppID/internal/TokenManager.swift
Expand Up @@ -114,7 +114,7 @@ internal class TokenManager {
return
}

switch (response.statusCode) {
switch (response.statusCode ?? 500) {
case 400:
guard errorJson?["error"] == "invalid_grant", let errorDescription = errorJson?["error_description"] else {
fallthrough
Expand Down

0 comments on commit 1ae75dd

Please sign in to comment.