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/UpdateEntryRoute.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/Api/V1/Entries/UpdateEntryRoute.cs') diff --git a/src/server/Api/V1/Entries/UpdateEntryRoute.cs b/src/server/Api/V1/Entries/UpdateEntryRoute.cs index 919364d..98e99c6 100644 --- a/src/server/Api/V1/Entries/UpdateEntryRoute.cs +++ b/src/server/Api/V1/Entries/UpdateEntryRoute.cs @@ -23,7 +23,7 @@ public class UpdateEntryRoute : RouteBaseV1Sync.WithRequest. [ApiVersion(ApiSpecV1.VERSION_STRING)] [HttpPost("~/v{version:apiVersion}/entries/update")] public override ActionResult Handle(UpdateEntryRequest entryToUpdate) { - if (IsApiCall() && !HasApiPermission(Constants.TOKEN_ALLOW_UPDATE)) { + if (IsApiCall() && !HasApiPermission(AppConstants.TOKEN_ALLOW_UPDATE)) { return StatusCode(403, "Your token does not permit access to this resource"); } -- cgit v1.3