Update staging #562

Merged
IB-Cornelsen merged 4 commits from main into staging 2025-08-05 12:24:43 +00:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 2bee3f55c6 - Show all commits

View File

@@ -12,7 +12,7 @@
email: email,
metadata: {
category: category,
phone: phone,
telefon: telefon,
},
titel: title,
})
@@ -28,7 +28,7 @@
let title = "";
let description = "";
let email = "";
let phone = "";
let telefon = "";
</script>
<form class="max-w-lg" on:submit={createTicket}>
@@ -89,9 +89,9 @@
<input
class="input input-bordered"
type="tel"
placeholder="Ihre Telefonnumer"
name="phone"
bind:value={phone}
placeholder="Ihre Telefonnummer"
name="telefon"
bind:value={telefon}
required
/>
</div>

View File

@@ -50,7 +50,7 @@ export const PUT = defineApiRoute({
const url = new URL("https://api.trello.com/1/cards")
url.searchParams.append("name", input.titel)
url.searchParams.append("desc", `User: ${input.email}\n\nDescription: ${input.beschreibung}\n\nCategory: ${category}`)
url.searchParams.append("desc", `User: ${input.email}\n\nDescription: ${input.beschreibung}\n\nKategorie: ${category}\n\nTelefon: ${(input.metadata as Record<string, string>).telefon || "Nicht angegeben"}`)
url.searchParams.append("pos", "top")
url.searchParams.append("idLabels",
(category &&