summaryrefslogtreecommitdiffstats
path: root/src/server/Api/V1/Entries/CreateEntryRoute.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/CreateEntryRoute.cs
parentda4c22abbbf04566891976d01f5cf629857f8d0b (diff)
downloadbookmark-thing-1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796.tar.xz
bookmark-thing-1d482a4ec2cf24dbe7cc6cb02e192e1b9545f796.zip
feat: Experiment with tailwind
Diffstat (limited to 'src/server/Api/V1/Entries/CreateEntryRoute.cs')
-rw-r--r--src/server/Api/V1/Entries/CreateEntryRoute.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/Api/V1/Entries/CreateEntryRoute.cs b/src/server/Api/V1/Entries/CreateEntryRoute.cs
index b502e4a..e0ee2c1 100644
--- a/src/server/Api/V1/Entries/CreateEntryRoute.cs
+++ b/src/server/Api/V1/Entries/CreateEntryRoute.cs
@@ -21,7 +21,7 @@ public class CreateEntryRoute : RouteBaseV1Sync.WithRequest<CreateEntryRequest>.
[ApiVersion(ApiSpecV1.VERSION_STRING)]
[HttpPost("~/v{version:apiVersion}/entries/create")]
public override ActionResult<EntryDto> Handle(CreateEntryRequest entry) {
- if (IsApiCall() && !HasApiPermission(Constants.TOKEN_ALLOW_CREATE)) {
+ if (IsApiCall() && !HasApiPermission(AppConstants.TOKEN_ALLOW_CREATE)) {
return StatusCode(403, "Your token does not permit access to this resource");
}