🎨 Run updated prettier

This commit is contained in:
2023-08-25 14:42:38 +02:00
parent 57807e7ce0
commit 70238b4151
19 changed files with 77 additions and 71 deletions

View File

@ -5,7 +5,7 @@ const baseUrl = "https://mobileapi.dsbcontrol.de";
export async function getAuthtoken(username, password) {
const response = await axios.get(
`${baseUrl}/authid?user=${username}&password=${password}&bundleid&appversion&osversion&pushid`
`${baseUrl}/authid?user=${username}&password=${password}&bundleid&appversion&osversion&pushid`,
);
if (response.data == "") throw "Wrong DSB username or password";
return response.data;
@ -13,7 +13,7 @@ export async function getAuthtoken(username, password) {
export async function getTimetables(authtoken) {
const response = await axios.get(
`${baseUrl}/dsbtimetables?authid=${authtoken}`
`${baseUrl}/dsbtimetables?authid=${authtoken}`,
);
const timetables = response.data;