v0.0.30.3 Добавлено логирование в получение клипов и авторов
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
admin 2025-09-02 23:44:34 +03:00
parent e5f4f41856
commit 6a21e9411c

View File

@ -60,7 +60,8 @@ func (r *clipResolver) Author(ctx context.Context, obj *domain.Clip) (*domain.Us
Avatar: "/img/logo.png",
}, nil
}
log.Printf("Successfully resolved author %d for clip %d", obj.AuthorID, obj.ID)
log.Printf("Successfully resolved author %d for clip %d", author.Avatar, author.ID, author.Username)
return author, nil
}