From 1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Mon, 14 Feb 2022 19:02:54 +0100 Subject: feat: Experiment with tailwind --- src/server/Api/V1/Entries/DeleteEntryRoute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/Api/V1/Entries/DeleteEntryRoute.cs') diff --git a/src/server/Api/V1/Entries/DeleteEntryRoute.cs b/src/server/Api/V1/Entries/DeleteEntryRoute.cs index c979c1f..8b8b75c 100644 --- a/src/server/Api/V1/Entries/DeleteEntryRoute.cs +++ b/src/server/Api/V1/Entries/DeleteEntryRoute.cs @@ -18,7 +18,7 @@ public class DeleteEntryRoute : RouteBaseV1Sync.WithRequest.WithActionResu [ApiVersion(ApiSpecV1.VERSION_STRING)] [HttpDelete("~/v{version:apiVersion}/entries/{entryId:guid}")] public override ActionResult Handle(Guid entryId) { - if (IsApiCall() && !HasApiPermission(Constants.TOKEN_ALLOW_DELETE)) { + if (IsApiCall() && !HasApiPermission(AppConstants.TOKEN_ALLOW_DELETE)) { return StatusCode(403, "Your token does not permit access to this resource"); } -- cgit v1.3