v0.0.30.3 Добавлено логирование в получение клипов и авторов
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fbcb323145
commit
73946da723
@ -58,7 +58,7 @@ func (r *clipResolver) Author(ctx context.Context, obj *domain.Clip) (*domain.Us
|
|||||||
UpdatedAt: time.Now(),
|
UpdatedAt: time.Now(),
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
log.Printf("Resolved author for clip %d", author)
|
||||||
if author == nil {
|
if author == nil {
|
||||||
log.Printf("WARNING: Author %d not found for clip %d", obj.AuthorID, obj.ID)
|
log.Printf("WARNING: Author %d not found for clip %d", obj.AuthorID, obj.ID)
|
||||||
return &domain.User{
|
return &domain.User{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user