Skip to content

Commit

Permalink
use the correct command name to delete a spot
Browse files Browse the repository at this point in the history
  • Loading branch information
ftl committed Mar 25, 2023
1 parent ced8a34 commit 1d738a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ func (c *Client) AddSpot(callsign string, mode Mode, frequency int, color ARGB,

// DeleteSpot deletes the spot with the given callsign.
func (c *Client) DeleteSpot(callsign string) error {
_, err := c.command("spot", callsign)
_, err := c.command("spot_delete", callsign)
return err
}

Expand Down

0 comments on commit 1d738a8

Please sign in to comment.