Changed enums to string

String is easyer to decode and the sendable data in the frontend will be
limited.
This commit is contained in:
2026-04-23 16:51:21 +02:00
parent d890255631
commit b905ffc9b1
5 changed files with 8 additions and 54 deletions

View File

@@ -24,7 +24,7 @@ pub async fn create_ticket(
.bind(body.category.to_string())
.bind(body.description.to_string())
.bind(body.betreff.to_string())
.bind(body.room.to_string())
.bind(body.room)
.execute(&data.db)
.await;