fix: ruff issues & build

This commit is contained in:
swve 2025-08-09 14:29:51 +02:00
parent 531e1863c0
commit f635440158
10 changed files with 8 additions and 47 deletions

View file

@ -43,7 +43,7 @@ export function useCourseRights(courseuuid: string) {
const { data: rights, error, isLoading } = useSWR<CourseRights>(
courseuuid ? `${getAPIUrl()}courses/${courseuuid}/rights` : null,
(url) => swrFetcher(url, access_token)
(url: string) => swrFetcher(url, access_token)
)
return {