formated and linted

This commit is contained in:
Elmar Kresse
2023-10-17 21:16:58 +02:00
parent 4148b0c185
commit 10d0ae0d8a
23 changed files with 581 additions and 378 deletions

View File

@ -1,7 +1,7 @@
import { Module } from "../model/module";
import { Calendar } from "../model/calendar";
export async function getCalender( token: string): Promise<Module[]> {
export async function getCalender(token: string): Promise<Module[]> {
const request = new Request("/api/collections/feeds/records/" + token, {
method: "GET",
});
@ -10,7 +10,5 @@ export async function getCalender( token: string): Promise<Module[]> {
.then((response) => {
return response.json();
})
.then(
(calendarResponse: Calendar) => calendarResponse.modules
);
}
.then((calendarResponse: Calendar) => calendarResponse.modules);
}