fix v1.0
All checks were successful
CI/CD Pipeline / Backend - Build, Test & Push (push) Successful in 18m57s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Successful in 34m42s
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Deployment Summary (push) Successful in 1s
CI/CD Pipeline / Deploy to Portainer (push) Successful in 12s
CI/CD Pipeline / Discord Notification (Failure) (push) Has been skipped
CI/CD Pipeline / Discord Notification (Success) (push) Successful in 2s

This commit is contained in:
David 2025-12-23 11:59:53 +01:00
parent a1e255e816
commit 6603c458d4

View File

@ -137,6 +137,10 @@ export class CsvBooking {
if (!this.confirmationToken || this.confirmationToken.trim().length === 0) { if (!this.confirmationToken || this.confirmationToken.trim().length === 0) {
throw new Error('Confirmation token is required'); throw new Error('Confirmation token is required');
} }
if (!this.documents || this.documents.length === 0) {
throw new Error('At least one document is required for booking');
}
} }
/** /**