Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(formatting): Fixed formatting mistakes #1186

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading