API für die App angepasst

This commit is contained in:
2024-11-13 09:02:25 +01:00
parent d5f96bc28d
commit ede199ab94
2 changed files with 8 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ Namespace ApiController.Controllers
End If
If arrayOfFiles Is Nothing OrElse arrayOfFiles.Length = 0 Then
VERAG_PROG_ALLGEMEIN.cErrorHandler.ERR("Leeres 'arrayOfFiles' empfangen.", "Anhangsart: " & anhangsart, "uploadAvisoAttachment")
Return Request.CreateErrorResponse(HttpStatusCode.BadRequest, "Das 'arrayOfFiles' darf nicht leer sein.")
End If