Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
fix: make party open when event leader is online
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakShearman committed Mar 15, 2024
1 parent aa066aa commit 2cf315a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/app/event/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ func (h *handler) runStartEvent(ctx context.Context) {
}
} else {
p = model.NewParty(e.OwnerID, e.OwnerUsername)
p.Open = true
if err := h.repo.CreateParty(ctx, p); err != nil {
h.log.Errorf("failed to create party: %v", err)
return
Expand Down

0 comments on commit 2cf315a

Please sign in to comment.