fix: init results

This commit is contained in:
Derrick Hammer 2024-03-01 03:46:03 -05:00
parent 6427d24b0f
commit a1572b256b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -864,7 +864,7 @@ func (s *S5API) accountPinManifest(jc jape.Context, userId uint, cid *encoding.C
return return
} }
var results map[string]pinResult results := make(map[string]pinResult, len(cids))
lo.ForEach(cids, func(c *encoding.CID, _i int) { lo.ForEach(cids, func(c *encoding.CID, _i int) {
ret := pinResult{ ret := pinResult{