Skip to content

Commit bcd84a5

Browse files
committed
feat: add new findAllSessionsIncludeUsernames api call and todo comments
1 parent 05ba9de commit bcd84a5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

apps/web/src/hooks/useFindSession.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
import type { Session } from '@opendatacapture/schemas/session';
22
import axios from 'axios';
33

4+
//Change this query to into a hook method and name it useFindSessionQuery
5+
6+
//Change the api call to have an include tag which includes the username from users
7+
8+
//Change the return type to
9+
410
export const sessionInfo = async (sessionId: string): Promise<Session> => {
511
try {
612
const response = await axios.get(`/v1/sessions/${encodeURIComponent(sessionId)}`);

0 commit comments

Comments
 (0)