update messages
This commit is contained in:
parent
97668e0db4
commit
b82c8c86d9
1 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ func (d *DeleteExecutor) deleteStatus(gtsClient *client.Client) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if status.Account.ID != myAccountID {
|
if status.Account.ID != myAccountID {
|
||||||
return errors.New("unable to delete the status because you are not the owner")
|
return errors.New("unable to delete the status because the status does not belong to you")
|
||||||
}
|
}
|
||||||
|
|
||||||
text, err := gtsClient.DeleteStatus(d.statusID)
|
text, err := gtsClient.DeleteStatus(d.statusID)
|
||||||
|
@ -91,7 +91,7 @@ func (d *DeleteExecutor) deleteStatus(gtsClient *client.Client) error {
|
||||||
return fmt.Errorf("unable to save the text to %q: %w", path, err)
|
return fmt.Errorf("unable to save the text to %q: %w", path, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
d.printer.PrintSuccess("The status' text was successfully written to '" + path + "'.")
|
d.printer.PrintSuccess("The text was successfully saved to '" + path + "'.")
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in a new issue