Skip to content

Commit

Permalink
fix(GODT-3036): Keep contentID order for attachment in FakeServer.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlejeune74 committed Oct 23, 2023
1 parent 11d1254 commit 816d9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/backend/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ func sortAttachment(atts map[string]*attachment, attIDs []string) []string {
if atts[attID].contentID != "" {
continue
}
attachments = append(attachments, attContentId[attID])
attachments = append(attachments, attID)
}

return attachments
Expand Down

0 comments on commit 816d9ac

Please sign in to comment.