File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { WorkOS } from '../workos';
22import { Directory } from './interfaces/directory.interface' ;
33import { List } from '../common/interfaces/list.interface' ;
44import { Group } from './interfaces/group.interface' ;
5- import { User , UserWithGroups } from './interfaces/user.interface' ;
5+ import { UserWithGroups } from './interfaces/user.interface' ;
66import { ListDirectoriesOptions } from './interfaces/list-directories-options.interface' ;
77import { ListGroupsOptions } from './interfaces/list-groups-options.interface' ;
88import { ListUsersOptions } from './interfaces/list-users-options.interface' ;
@@ -27,7 +27,7 @@ export class DirectorySync {
2727 return data ;
2828 }
2929
30- async getUser ( user : string ) : Promise < User > {
30+ async getUser ( user : string ) : Promise < UserWithGroups > {
3131 const { data } = await this . workos . get ( `/directory_users/${ user } ` ) ;
3232 return data ;
3333 }
You can’t perform that action at this time.
0 commit comments