Skip to content

Commit dfd9f87

Browse files
authored
Fix rating function (#31)
1 parent f704dfc commit dfd9f87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/scheduling.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ func generateRatingsForSlots(ctx context.Context,
368368
dur := slot.MeetingTimeSlot.End.Sub(slot.MeetingTimeSlot.End)
369369
totalTime, ok := userWorkingHours[slot.MeetingTimeSlot.Start.Format("2006-01-02")]
370370

371-
if ok {
371+
if !ok {
372372
totalTime = 0
373373
}
374374

0 commit comments

Comments
 (0)