From cc4f5985f5a4ca2a55e837fdaac1e0b51fc044d1 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Fri, 23 Aug 2019 22:21:19 +0100 Subject: [PATCH] code format --- src/Yavsc/ApiControllers/Blogspot/FileSystemApiController.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Yavsc/ApiControllers/Blogspot/FileSystemApiController.cs b/src/Yavsc/ApiControllers/Blogspot/FileSystemApiController.cs index 98be00f4..c747c459 100644 --- a/src/Yavsc/ApiControllers/Blogspot/FileSystemApiController.cs +++ b/src/Yavsc/ApiControllers/Blogspot/FileSystemApiController.cs @@ -4,7 +4,6 @@ using System.Linq; using System.Security.Claims; using Microsoft.AspNet.Authorization; using Microsoft.AspNet.Mvc; -using Yavsc.Helpers; using Yavsc.Models; namespace Yavsc.ApiControllers @@ -44,7 +43,7 @@ namespace Yavsc.ApiControllers [HttpGet("{*subdir}")] public IActionResult GetDir(string subdir="") - { + { if (subdir !=null) if (!subdir.IsValidYavscPath()) return new BadRequestResult();