Skip to content

Commit 6144a4c

Browse files
committed
fix: Updated keyvalues query for listing files
1 parent 0c1ca01 commit 6144a4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/files/files.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func ListFiles(amount string, pageToken string, cidPending bool, name string, ci
197197

198198
if len(keyvalues) > 0 {
199199
for key, value := range keyvalues {
200-
params = append(params, fmt.Sprintf("metadata[%s]=%s", key, value))
200+
params = append(params, fmt.Sprintf("keyvalues[%s]=%s", key, value))
201201
}
202202
}
203203

0 commit comments

Comments
 (0)