Skip to content

Commit

Permalink
feat(arcgis-rest-portal): pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannaeapicella committed Jan 12, 2023
1 parent 96be4bd commit 9f0c721
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/arcgis-rest-portal/src/users/get-user-properties.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Copyright (c) 2023 Environmental Systems Research Institute, Inc.
* Apache-2.0 */

import { IRequestOptions, request } from "@esri/arcgis-rest-request";
import { IUserRequestOptions, request } from "@esri/arcgis-rest-request";
import { getPortalUrl } from "../util/get-portal-url.js";

export interface IUserProperties {
Expand All @@ -21,12 +21,12 @@ export interface IUserProperties {
/**
* Fetches the properties for a user
* @param username The user whose properties to fetch
* @param requestOptions An IRequestOptions object
* @param requestOptions An IUserRequestOptions object
* @returns a promise that resolves an IUserProperties object
*/
export async function getUserProperties(
username: string,
requestOptions: IRequestOptions
requestOptions: IUserRequestOptions
): Promise<IUserProperties> {
const url = `${getPortalUrl(
requestOptions
Expand Down

0 comments on commit 9f0c721

Please sign in to comment.