fix is_read
This commit is contained in:
@@ -431,7 +431,7 @@ func (s *LetterServiceImpl) ListIncomingLetters(ctx context.Context, req *contra
|
||||
isRead := false
|
||||
if recipient, exists := batchData.recipients[letter.ID]; exists && recipient != nil {
|
||||
isRead = recipient.ReadAt != nil
|
||||
log.Printf("Recipient: %+v\n", recipient)
|
||||
log.Printf("Recipient debug: %+v\n", recipient)
|
||||
}
|
||||
|
||||
resp := transformer.LetterEntityToContract(&letter, attachments, dispositions, priority, institution)
|
||||
|
||||
Reference in New Issue
Block a user