Skip to content

Commit

Permalink
only teachers
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Aug 2, 2024
1 parent 868c24a commit 70d7ca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/endpoints/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
type RetrieveArg,
type RetrieveResult,
} from "../../utils/api"
import type { Class, School, User } from "../models"
import type { Class, User } from "../models"
import { type TagTypes } from "../tagTypes"
import urls from "../urls"

Expand Down Expand Up @@ -40,7 +40,7 @@ export type ListUsersResult = ListResult<
>
export type ListUsersArg = ListArg<{
students_in_class: Class["id"]
teachers_in_school: School["id"]
only_teachers: boolean
_id: User["id"] | User["id"][]
name: string
}>
Expand Down

0 comments on commit 70d7ca9

Please sign in to comment.