Skip to content

Commit

Permalink
chore(formatting): Fixed formatting mistakes (#1186)
Browse files Browse the repository at this point in the history
fixed formatting mistakes have sneaked into prod

Co-authored-by: CommanderStorm <[email protected]>
  • Loading branch information
github-actions[bot] and CommanderStorm authored May 21, 2024
1 parent 09a921d commit d3b74b3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 34 deletions.
4 changes: 3 additions & 1 deletion server/main-api/src/setup/database/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ async fn load_data(
tx: &mut sqlx::Transaction<'_, sqlx::Postgres>,
) -> Result<(), crate::BoxedError> {
info!("deleting old data");
sqlx::query!("DELETE FROM aliases").execute(&mut **tx).await?;
sqlx::query!("DELETE FROM aliases")
.execute(&mut **tx)
.await?;
sqlx::query!("DELETE FROM en").execute(&mut **tx).await?;
sqlx::query!("DELETE FROM de").execute(&mut **tx).await?;

Expand Down
25 changes: 0 additions & 25 deletions webclient/api_types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,6 @@ export type paths = {
*/
get: operations["api-health"];
};
"/api/feedback/status": {
/**
* feedback-API healthcheck
* @description If this endpoint does not return 200, the API is experiencing a catastrophic outage. Should never happen.
*/
get: operations["feedback-health"];
};
"/cdn/health": {
/**
* CDN healthcheck
Expand Down Expand Up @@ -1321,24 +1314,6 @@ export type operations = {
};
};
};
/**
* feedback-API healthcheck
* @description If this endpoint does not return 200, the API is experiencing a catastrophic outage. Should never happen.
*/
"feedback-health": {
responses: {
/** @description Ok */
200: {
content: {
readonly "text/plain": string;
};
};
/** @description Service Unavailable */
503: {
content: never;
};
};
};
/**
* CDN healthcheck
* @description If this endpoint does not return 200, the CDN is experiencing a catastrophic outage. Should never happen.
Expand Down
16 changes: 8 additions & 8 deletions webclient/components/TokenBasedModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function sendForm() {
<div>
<Checkbox id="privacy-checked" v-model="privacyChecked">
<template #default>
<i18n-t tag="p" keypath="public.agreement" class="font-bold">
<I18nT tag="p" keypath="public.agreement" class="font-bold">
<template #github_project_issues>
<a
tabindex="1"
Expand All @@ -120,11 +120,11 @@ function sendForm() {
{{ t("public.github_project_issues") }}
</a>
</template>
</i18n-t>
</I18nT>
</template>
<template #helptext>
<p>
<i18n-t tag="span">
<I18nT tag="span">
<template #github_site_policy>
<a
tabindex="1"
Expand All @@ -135,15 +135,15 @@ function sendForm() {
{{ t("public.github_site_policy") }}
</a>
</template>
</i18n-t>
</I18nT>
{{ t("public.processing_based_on_gdpr") }}
</p>
<p>
{{ t("public.right_to_information") }}
{{ t("public.right_of_appeal") }}
</p>
<p>
<i18n-t keypath="public.objection_instruction" tag="span">
<I18nT keypath="public.objection_instruction" tag="span">
<template #imprint>
<NuxtLink
tabindex="1"
Expand All @@ -153,9 +153,9 @@ function sendForm() {
{{ t("public.imprint") }}
</NuxtLink>
</template>
</i18n-t>
</I18nT>

<i18n-t keypath="public.question_contact">
<I18nT keypath="public.question_contact">
<template #datenschutz>
<a
tabindex="1"
Expand All @@ -166,7 +166,7 @@ function sendForm() {
datenschutz.tum.de
</a>
</template>
</i18n-t>
</I18nT>
</p>
</template>
</Checkbox>
Expand Down

0 comments on commit d3b74b3

Please sign in to comment.