Skip to content

Commit

Permalink
Fix bad copy-paste
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlihou committed Jun 25, 2024
1 parent b2a23aa commit 1ac7ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FiMAdminApi/Endpoints/EventsCreateEndpoints.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static class EventsCreateEndpoints
{
public static WebApplication RegisterEventsCreateEndpoints(this WebApplication app, ApiVersionSet vs)
{
var eventsCreateGroup = app.MapGroup("/api/v{apiVersion:apiVersion}/users")
var eventsCreateGroup = app.MapGroup("/api/v{apiVersion:apiVersion}/events-create")
.WithApiVersionSet(vs).HasApiVersion(1).WithTags("Events - Create")
.RequireAuthorization(nameof(GlobalPermission.Events_Create));

Expand Down

0 comments on commit 1ac7ff8

Please sign in to comment.