fix(card): Use correct template endpoints

This commit is contained in:
2024-12-03 18:51:34 +01:00
parent 1657a10dec
commit 5dbe7816cd
3 changed files with 24 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
package models
type CardRequest struct {
Cards []Card `json:"card"`
Cards []Card `json:"cards"`
Locale string `json:"locale" enums:"en,de"`
}
@@ -14,6 +14,7 @@ type Card struct {
type CardTemplateOptions struct {
Cards []Card `json:"cards"`
CardsSwapped []Card `json:"cards_swapped"`
EventName string `json:"event_name"`
CardSubtitle string `json:"card_subtitle"`
BarcodeFormat string `json:"barcode_format"`