Skip to content

Commit

Permalink
Fix convertion to string
Browse files Browse the repository at this point in the history
  • Loading branch information
2-towns committed Oct 24, 2024
1 parent 29ab42e commit 333fb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codex/rest/api.nim
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ proc retrieveCid(

bytes += buff.len

resp.setHeader("Content-Length", bytes)
resp.setHeader("Content-Length", $bytes)

await resp.sendChunk(addr buff[0], buff.len)
await resp.finish()
Expand Down

0 comments on commit 333fb5f

Please sign in to comment.