Revert "Bump Go version to 1.23.6 (#30242)" (#30359)

This reverts commit acbbd4c58d.
Этот коммит содержится в:
Agniva De Sarker
2025-02-27 14:58:51 +05:30
коммит произвёл GitHub
родитель 690cbc9fa3
Коммит ac10bb12a5
23 изменённых файлов: 49 добавлений и 45 удалений

Просмотреть файл

@@ -103,7 +103,7 @@ func GetMessageFromMailbox(email, id string) (JSONMessageInbucket, error) {
}
// download attachments
if len(record.Attachments) > 0 {
if record.Attachments != nil && len(record.Attachments) > 0 {
for i := range record.Attachments {
var bytes []byte
bytes, err = downloadAttachment(record.Attachments[i].DownloadLink)