Skip to content

Commit

Permalink
(#401) evetns: update ppi
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Sep 1, 2024
1 parent d580546 commit 7f15f17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public static async Task Main(string[] args)
.Get<GetSearchEvents, PagedResponse<EventDto>>("events/search")
.Get<GetUserEventsFeed, PagedResponse<EventDto>>("events/users/{userId}/feed")
.Get<GetPaginatedUserViews, PagedResponse<ViewDto>>("events/users/{userId}/views/paginated")

.Put<UpdateEvent>("events/{eventId}")
.Post<CreateEvent>("events",
afterDispatch: (cmd, ctx) => ctx.Response.Created($"events/{cmd.EventId}"))
Expand All @@ -65,6 +64,7 @@ public static async Task Main(string[] args)
.Post<ShowInterestInEvent>("events/{eventId}/show-interest")
.Delete<CancelInterestInEvent>("events/{eventId}/show-interest")
.Post<RateEvent>("events/{eventId}/rate")
.Post<ViewUserProfile>("profiles/users/{userProfileId}/view", afterDispatch: (cmd, ctx) => ctx.Response.Ok())

Check failure on line 67 in MiniSpace.Services.Events/src/MiniSpace.Services.Events.Api/Program.cs

View workflow job for this annotation

GitHub Actions / build-and-test (MiniSpace.Services.Events/src/MiniSpace.Services.Events.Api)

The type or namespace name 'ViewUserProfile' could not be found (are you missing a using directive or an assembly reference?)

Check failure on line 67 in MiniSpace.Services.Events/src/MiniSpace.Services.Events.Api/Program.cs

View workflow job for this annotation

GitHub Actions / build-and-test (MiniSpace.Services.Events/src/MiniSpace.Services.Events.Api)

The type or namespace name 'ViewUserProfile' could not be found (are you missing a using directive or an assembly reference?)
.Delete<CancelRateEvent>("events/{eventId}/rate")
.Post<AddEventParticipant>("events/{eventId}/participants")
.Post<ViewEvent>("events/{eventId}/view")
Expand Down

0 comments on commit 7f15f17

Please sign in to comment.