Skip to content

Commit

Permalink
Merge pull request #493 from Esri/chore/typo
Browse files Browse the repository at this point in the history
fix typo in code snippet
  • Loading branch information
john gravois authored Mar 26, 2019
2 parents 07cec72 + d15ee72 commit b1a935b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/arcgis-rest-request/src/utils/get-portal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ export function getSelf(requestOptions?: IRequestOptions): Promise<IPortal> {
}

/**
* * ```js
* ```js
* import { getPortal } from "@esri/arcgis-rest-request";
* //
* getPortal()
* getPortal("fe8")
* getPortal(null, { portal: "https://custom.maps.arcgis.com/sharing/rest/" })
* getPortal("fe8")
* getPortal(null, { portal: "https://custom.maps.arcgis.com/sharing/rest/" })
* ```
* Fetch information about the current portal by id. If no id is passed, portals/self will be called
* @param id
Expand Down

0 comments on commit b1a935b

Please sign in to comment.