mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2026-01-17 03:52:26 +01:00
fix:#30 format, lint and fixed types
This commit is contained in:
@@ -10,7 +10,11 @@ export async function createIndividualFeed(modules: Module[]): Promise<string> {
|
||||
body: JSON.stringify(modules),
|
||||
});
|
||||
|
||||
if (response.status === 429 || response.status === 500 || response.status != 200) {
|
||||
if (
|
||||
response.status === 429 ||
|
||||
response.status === 500 ||
|
||||
response.status != 200
|
||||
) {
|
||||
return Promise.reject(response.statusText);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user