Skip to content

Commit

Permalink
docs(links): fix remaining 404s in docs
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #92
  • Loading branch information
Noah Mulfinger committed Jan 4, 2018
1 parent 28a3cca commit 3c9a0f0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions packages/arcgis-rest-auth/src/UserSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export interface IUserSessionOptions {

/**
* Used to manage the authentication of ArcGIS Online and ArcGIS Enterprise users
* in [`request`](/api/request/request/). This class also includes several
* in `request`. This class also includes several
* helper methods for authenticating users with OAuth 2.0 in both browser and
* server applications.
*/
Expand Down Expand Up @@ -592,12 +592,12 @@ export class UserSession implements IAuthenticationManager {
}

if (!this._pendingTokenRequests[this.portal]) {
this._pendingTokenRequests[
this.portal
] = this.refreshSession().then(session => {
this._pendingTokenRequests[this.portal] = null;
return session.token;
});
this._pendingTokenRequests[this.portal] = this.refreshSession().then(
session => {
this._pendingTokenRequests[this.portal] = null;
return session.token;
}
);
}

return this._pendingTokenRequests[this.portal];
Expand Down
2 changes: 1 addition & 1 deletion packages/arcgis-rest-request/src/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export interface IParams {
}

/**
* Options for the [`request()`](/api/arcgis-core/request/) method.
* Options for the `request()` method.
*/
export interface IRequestOptions {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/arcgis-rest-request/src/utils/check-for-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ArcGISRequestError } from "./ArcGISRequestError";
import { ArcGISAuthError } from "./ArcGISAuthError";
import { IRequestOptions, IParams } from "../request";
/**
* Checks a JSON response from the ArcGIS REST API for errors. If there are no errors this will return the `data` it is passed in. If there is an error it will throw. With a [`ArcGISRequestError`](/api/arcgis-core/ArcGISRequestError/) or [`ArcGISAuthError`](/api/arcgis-core/ArcGISAuthError/).
* Checks for errors in a JSON response from the ArcGIS REST API. If there are no errors, it will return the `data` passed in. If there is an error, it will throw an `ArcGISRequestError` or `ArcGISAuthError`.
*
* @param data The response JSON to check for errors.
* @param url The url of the original request
Expand Down

0 comments on commit 3c9a0f0

Please sign in to comment.