diff --git a/api/s5/s5.go b/api/s5/s5.go index 9753357..b0e0c3c 100644 --- a/api/s5/s5.go +++ b/api/s5/s5.go @@ -864,7 +864,7 @@ func (s *S5API) accountPinManifest(jc jape.Context, userId uint, cid *encoding.C return } - var results map[string]pinResult + results := make(map[string]pinResult, len(cids)) lo.ForEach(cids, func(c *encoding.CID, _i int) { ret := pinResult{