Make an empty array when no items found
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
ac56638664
commit
54e55c194e
|
@ -158,6 +158,10 @@ WHERE "channel_id" = $1
|
|||
tl.Paging.Before = last
|
||||
// tl.Paging.After = last
|
||||
|
||||
if tl.Items == nil {
|
||||
tl.Items = []microsub.Item{}
|
||||
}
|
||||
|
||||
return tl, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user