summaryrefslogtreecommitdiffstats
path: root/src/server/Api/V1/Entries/DeleteEntryRoute.cs
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-02-14 19:02:54 +0100
committerivarlovlie <git@ivarlovlie.no>2022-02-14 19:02:54 +0100
commit1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796 (patch)
tree9b0a26b7d3efeecd5ec20a6e5624857624bc53a6 /src/server/Api/V1/Entries/DeleteEntryRoute.cs
parentda4c22abbbf04566891976d01f5cf629857f8d0b (diff)
downloadbookmark-thing-1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796.tar.xz
bookmark-thing-1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796.zip
feat: Experiment with tailwind
Diffstat (limited to 'src/server/Api/V1/Entries/DeleteEntryRoute.cs')
-rw-r--r--src/server/Api/V1/Entries/DeleteEntryRoute.cs2
1 files changed, 1 insertions, 1 deletions
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<Guid>.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");
}