Skip to content

Commit

Permalink
fix typo in code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
jgravois committed Mar 26, 2019
1 parent 07cec72 commit d15ee72
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 d15ee72

Please sign in to comment.