Skip to content

Commit 4c97dd2

Browse files
committed
feat: update query and type imports
1 parent 073bd09 commit 4c97dd2

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

apps/api/src/sessions/sessions.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ export class SessionsService {
101101
select: {
102102
username: true
103103
}
104-
}
104+
},
105+
subject: true
105106
},
106107
where: {
107108
AND: [accessibleQuery(ability, 'read', 'Session'), { groupId }]

apps/web/src/hooks/useFindSessionQuery.ts

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
import { reviver } from '@douglasneuroinformatics/libjs';
2-
import {
3-
$SessionWithUser,
4-
type Session,
5-
type SessionWithUser,
6-
type SessionWithUserQueryParams
7-
} from '@opendatacapture/schemas/session';
1+
import { $SessionWithUser } from '@opendatacapture/schemas/session';
2+
import type { Session, SessionWithUserQueryParams } from '@opendatacapture/schemas/session';
83
import { useQuery } from '@tanstack/react-query';
94
import axios from 'axios';
105

0 commit comments

Comments
 (0)