summaryrefslogtreecommitdiffstats
path: root/src/server/Api/V1/Entries/UpdateEntryRoute.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/UpdateEntryRoute.cs
parentda4c22abbbf04566891976d01f5cf629857f8d0b (diff)
downloadbookmark-thing-1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796.tar.xz
bookmark-thing-1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796.zip
feat: Experiment with tailwind
Diffstat (limited to 'src/server/Api/V1/Entries/UpdateEntryRoute.cs')
-rw-r--r--src/server/Api/V1/Entries/UpdateEntryRoute.cs2
1 files changed, 1 insertions, 1 deletions
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<UpdateEntryRequest>.
[ApiVersion(ApiSpecV1.VERSION_STRING)]
[HttpPost("~/v{version:apiVersion}/entries/update")]
public override ActionResult<EntryDto> 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");
}