forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits

getRegisterSchools.ts7 lines, 315 bytesHistoryRawDownload
1import { client } from "../client";
2import type { SchoolChoice } from "./postLogin";
3
4/** Active schools a new account can join. Unauthenticated, same as register. */
5export function getRegisterSchools(signal?: AbortSignal): Promise<SchoolChoice[]> {
6 return client<SchoolChoice[]>("/auth/schools", { signal });
7}