mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 02:40:11 +08:00
fix formatting in object get
fixes #6337 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
parent
3316dc12d7
commit
ebff0c5f33
@ -278,9 +278,8 @@ Supported values are:
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Fprint(w, marshaled)
|
||||
|
||||
return nil
|
||||
_, err = w.Write(marshaled)
|
||||
return err
|
||||
}),
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user