From ab5edb5622cf444efd972874bb86e4340ceb6b91 Mon Sep 17 00:00:00 2001 From: SKairinos Date: Fri, 30 Aug 2024 13:50:04 +0000 Subject: [PATCH] fix: filter users by type --- src/api/endpoints/user.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/endpoints/user.ts b/src/api/endpoints/user.ts index 703b4cc..b7fead0 100644 --- a/src/api/endpoints/user.ts +++ b/src/api/endpoints/user.ts @@ -40,9 +40,9 @@ export type ListUsersResult = ListResult< > export type ListUsersArg = ListArg<{ students_in_class: Class["id"] - only_teachers: boolean _id: User["id"] | User["id"][] name: string + type: "teacher" | "student" | "independent" | "indy" }> export default function getReadUserEndpoints(