fix: init results
This commit is contained in:
parent
6427d24b0f
commit
a1572b256b
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue