From e71f598bd3f9a0f539726bd457accfa3f20f197f Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 4 Aug 2019 11:43:34 +0200 Subject: [PATCH] code format --- src/Yavsc/ApiControllers/FileCircleApiController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Yavsc/ApiControllers/FileCircleApiController.cs b/src/Yavsc/ApiControllers/FileCircleApiController.cs index ce861a7d..6807791f 100644 --- a/src/Yavsc/ApiControllers/FileCircleApiController.cs +++ b/src/Yavsc/ApiControllers/FileCircleApiController.cs @@ -146,6 +146,7 @@ namespace Yavsc.Controllers [HttpDelete("{id}")] public async Task DeleteCircleAuthorizationToFile([FromRoute] long id) { + if (!ModelState.IsValid) { return HttpBadRequest(ModelState);