simplified appends

This commit is contained in:
2023-03-25 17:36:21 +01:00
parent d028fb2db1
commit 3964ffc7cb
4 changed files with 50 additions and 37 deletions

View File

@@ -219,7 +219,7 @@ func List(w io.Writer, c *cfg.Config, args []string) error {
return err
}
return RespondTable(w, resp)
return UploadsRespondTable(w, resp)
}
func Delete(w io.Writer, c *cfg.Config, args []string) error {
@@ -249,7 +249,7 @@ func Describe(w io.Writer, c *cfg.Config, args []string) error {
id := args[0] // we describe only 1 object
rq := Setup(c, "/uploads/"+id+"/")
rq := Setup(c, "/uploads/"+id)
resp, err := rq.R.Get(rq.Url)
if err != nil {