File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export type PermissionsSlimDto = Pick<
4444 "id" | "name" | "automaticallyAddNewApplications" | "organization"
4545> ;
4646
47- export interface PermissionGetManyWhereApplicationAdminResponse {
47+ export interface PermissionGetManySlimResponse {
4848 data : PermissionsSlimDto [ ] ;
4949 count : number ;
5050}
Original file line number Diff line number Diff line change 66 PermissionResponse ,
77 PermissionRequest ,
88 PermissionRequestAcceptUser ,
9- PermissionGetManyWhereApplicationAdminResponse ,
9+ PermissionGetManySlimResponse ,
1010} from "./permission.model" ;
1111import { map } from "rxjs/operators" ;
1212import { UserMinimalService } from "../users/user-minimal.service" ;
@@ -72,6 +72,7 @@ export class PermissionService {
7272 offset : offset ,
7373 orderOn : orderByColumn ,
7474 sort : orderByDirection ,
75+ ignoreGlobalAdmin : ignoreGlobalAdmin ,
7576 } ) ;
7677 }
7778 }
@@ -83,7 +84,7 @@ export class PermissionService {
8384 orderByDirection ?: string ,
8485 userId ?: number ,
8586 organisationId ?: number
86- ) : Observable < PermissionGetManyWhereApplicationAdminResponse > {
87+ ) : Observable < PermissionGetManySlimResponse > {
8788 if ( userId || organisationId ) {
8889 return this . restService . get ( this . endpoint + this . applicationAdmin , {
8990 limit : limit ,
@@ -99,7 +100,6 @@ export class PermissionService {
99100 offset : offset ,
100101 orderOn : orderByColumn ,
101102 sort : orderByDirection ,
102- ignoreGlobalAdmin : ignoreGlobalAdmin ,
103103 } ) ;
104104 }
105105 }
You can’t perform that action at this time.
0 commit comments