File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -179,9 +179,9 @@ export class DeprecatedApiClient extends BasePermitApi implements IDeprecatedPer
179179 await this . ensureContext ( ApiContextLevel . ENVIRONMENT ) ;
180180
181181 try {
182- const response = await this . _roles . listRoles ( {
182+ const response = ( await this . _roles . listRoles ( {
183183 ...this . config . apiContext . environmentContext ,
184- } ) ;
184+ } ) ) as AxiosResponse < RoleRead [ ] > ;
185185
186186 this . logger . debug ( `[${ response . status } ] permit.api.listRoles()` ) ;
187187 return response . data ;
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ export class ResourcesApi extends BasePermitApi implements IResourcesApi {
128128 /**
129129 * Retrieves a list of resources.
130130 *
131- * @param pagination The pagination options, @see {@link IBasePaginationExtended }
131+ * @param pagination The pagination options, @see {@link IPaginationExtended }
132132 * @returns A promise that resolves to an array of resources.
133133 * @throws {@link PermitApiError } If the API returns an error HTTP status code.
134134 * @throws {@link PermitContextError } If the configured {@link ApiContext} does not match the required endpoint context.
You can’t perform that action at this time.
0 commit comments