From 79aef2d58d45e9386ba22658e298b55c8c88cf0e Mon Sep 17 00:00:00 2001 From: jnile Date: Mon, 24 Mar 2025 08:53:01 +0000 Subject: [PATCH] Fix rating function --- api/scheduling.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/scheduling.go b/api/scheduling.go index 29772cac..698baf59 100644 --- a/api/scheduling.go +++ b/api/scheduling.go @@ -368,7 +368,7 @@ func generateRatingsForSlots(ctx context.Context, dur := slot.MeetingTimeSlot.End.Sub(slot.MeetingTimeSlot.End) totalTime, ok := userWorkingHours[slot.MeetingTimeSlot.Start.Format("2006-01-02")] - if ok { + if !ok { totalTime = 0 }