Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix: repo gc error key name (#2618)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw authored Nov 21, 2019
1 parent 03396ba commit 5a1d266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/api/resources/repo.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ exports.gc = {
const filtered = res.filter(r => !r.err || streamErrors)
const response = filtered.map(r => {
return {
Err: r.err && r.err.message,
Error: r.err && r.err.message,
Key: !r.err && { '/': r.cid.toString() }
}
})
Expand Down

0 comments on commit 5a1d266

Please sign in to comment.