mirror of https://github.com/fiatjaf/nak.git
blossom method name update.
This commit is contained in:
parent
e91a454fc0
commit
3005c62566
|
@ -75,7 +75,7 @@ var blossomCmd = &cli.Command{
|
||||||
|
|
||||||
hasError := false
|
hasError := false
|
||||||
for _, fpath := range c.Args().Slice() {
|
for _, fpath := range c.Args().Slice() {
|
||||||
bd, err := client.UploadFile(ctx, fpath)
|
bd, err := client.UploadFilePath(ctx, fpath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "%s\n", err)
|
fmt.Fprintf(os.Stderr, "%s\n", err)
|
||||||
hasError = true
|
hasError = true
|
||||||
|
|
Loading…
Reference in New Issue