diff --git a/go/internal/handler/handler.go b/go/internal/handler/handler.go index d6d90e8..85feeec 100644 --- a/go/internal/handler/handler.go +++ b/go/internal/handler/handler.go @@ -1132,7 +1132,7 @@ func (h *Handler) HandleLivekitWebhook(w http.ResponseWriter, r *http.Request) { _, err = docRef.Update(ctx, []firestore.Update{ {Path: "huddle_active_participants", Value: participantIds}, - }) + }, firestore.Exists) if err != nil { slog.Error("failed to update huddle participants in firestore", "error", err, "path", docPath) }