chore: update
ci-api / test (push) Successful in 33m26s
ci-web / test (push) Successful in 15m10s

This commit is contained in:
Xor290
2026-08-05 18:20:57 +02:00
parent 373d592320
commit fbda118856
8 changed files with 1636 additions and 1513 deletions
@@ -30,6 +30,13 @@ type createRequest struct {
S3Bucket string `json:"s3_bucket" binding:"omitempty,max=63"`
S3Endpoint string `json:"s3_endpoint" binding:"omitempty,max=255"`
// TomTom : jusqu'à 4 clés (1 principale + 3 de secours, rotation
// automatique côté backend en cas de quota atteint).
TomTomAPIKey string `json:"tomtom_api_key" binding:"omitempty"`
TomTomAPIKey1 string `json:"tomtom_api_key_1" binding:"omitempty"`
TomTomAPIKey2 string `json:"tomtom_api_key_2" binding:"omitempty"`
TomTomAPIKey3 string `json:"tomtom_api_key_3" binding:"omitempty"`
LBBot1Username string `json:"lb_bot1_username" binding:"omitempty,max=64"`
LBBot1Token string `json:"lb_bot1_token" binding:"omitempty"`
LBBot2Username string `json:"lb_bot2_username" binding:"omitempty,max=64"`
@@ -74,6 +81,10 @@ func (h *Handler) Create(c *gin.Context) {
StorageDriver: req.StorageDriver,
S3Bucket: req.S3Bucket,
S3Endpoint: req.S3Endpoint,
TomTomAPIKey: req.TomTomAPIKey,
TomTomAPIKey1: req.TomTomAPIKey1,
TomTomAPIKey2: req.TomTomAPIKey2,
TomTomAPIKey3: req.TomTomAPIKey3,
LBBot1Username: req.LBBot1Username,
LBBot1Token: req.LBBot1Token,
LBBot2Username: req.LBBot2Username,