Skip to content

Commit 4af9329

Browse files
committed
Working on OAuth
1 parent 0a9ec43 commit 4af9329

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NotionForCmdPalOAuthAPI/Authentication/OAuthClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public static async Task<IActionResult> HandleOAuthRedirection(Uri response)
101101
Debug.WriteLine($"Unexpected error: {ex.Message}");
102102
}
103103

104-
return errorResult;
104+
return new ContentResult() { StatusCode = 500, ContentType = "text/plain", Content = $"There was a problem authenticating with Notion. Please try again later." };
105105
}
106106

107107
private static string successMessage = @"

0 commit comments

Comments
 (0)