We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05ba9de commit bcd84a5Copy full SHA for bcd84a5
1 file changed
apps/web/src/hooks/useFindSession.ts
@@ -1,6 +1,12 @@
1
import type { Session } from '@opendatacapture/schemas/session';
2
import axios from 'axios';
3
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
10
export const sessionInfo = async (sessionId: string): Promise<Session> => {
11
try {
12
const response = await axios.get(`/v1/sessions/${encodeURIComponent(sessionId)}`);
0 commit comments