Private
Public Access
1
0

attachments: Should be /attachment, not /fetchAttachment

This commit is contained in:
2024-04-07 21:25:59 -07:00
parent a1349eff1b
commit 95b358e66e
3 changed files with 3 additions and 2 deletions

View File

@@ -153,6 +153,7 @@ func (s *Server) PopulateWithTestData() {
log.Fatal().Msgf("Error storing test attachment: %s", err)
} else {
attachmentMessage := data.GenerateAttachmentMessage(attachmentConversation.Participants, *attachmentGUID)
attachmentMessage.Date = model.Date(time.Now())
s.AppendMessageToConversation(&attachmentConversation, attachmentMessage)
}