Skip to content

Commit 1aa8706

Browse files
author
Lael Birch
authored
Merge pull request #144 from edx/lbirch/docs-updates
Docs updates
2 parents 80ed0d0 + c03f416 commit 1aa8706

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/auth/interface.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export function redirectToLogin(redirectUrl) {
171171
*
172172
* ```
173173
* const url = getLogoutRedirectUrl('http://localhost/mypage');
174-
* console.log(url); // http://localhost/logout?next=http%3A%2F%2Flocalhost%2Fmypage
174+
* console.log(url); // http://localhost/logout?redirect_url=http%3A%2F%2Flocalhost%2Fmypage
175175
* ```
176176
*
177177
* @param {string} redirectUrl The URL the user should be redirected to after logging out.

src/logging/interface.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
* NewRelicLoggingService that sends messages to NewRelic that can be seen in NewRelic Browser and
66
* NewRelic Insights. When in development mode, all messages will instead be sent to the console.
77
*
8-
* When you use `logError` or `logApiClientError`, your errors will appear under "JS errors"
8+
* When you use `logError`, your errors will appear under "JS errors"
99
* for your Browser application.
1010
*
11-
* Additionally, when you use `logApiClientError`, you get some additional custom metrics for Axios
12-
* error responses. To see those details, you can use a New Relic Insights query like the
13-
* following
14-
*
1511
* ```
1612
* SELECT * from JavaScriptError WHERE errorStatus is not null SINCE 10 days ago
1713
* ```

0 commit comments

Comments
 (0)