lab-64 / split-the-bill-server

Backend for the Split the Bill App
4 stars 0 forks source link

Fix bill_service.go, to show bill owner not group owner #165

Closed Morvvvv closed 5 months ago

Morvvvv commented 6 months ago
log.Println("groupMembers: ")
log.Println(groupMembers)
unseenFrom := make([]uuid.UUID, 0)
for _, member := range groupMembers {
    if member.ID != billDTO.OwnerID {
        unseenFrom = append(unseenFrom, member.ID)
    }
}
log.Println("Unseen From List:")
log.Println(unseenFrom)