Skip to content

Commit

Permalink
Fix PushServerStateChange URI
Browse files Browse the repository at this point in the history
  • Loading branch information
iamkubi committed Apr 20, 2024
1 parent e669be3 commit c55417c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remote/servers.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func (c *client) getServersPaged(ctx context.Context, page, limit int) ([]RawSer

// PushServerStateChange updates the Panel with state change notifications
func (c *client) PushServerStateChange(ctx context.Context, sid string, sc ServerStateChange) error {
resp, err := c.Post(ctx, fmt.Sprintf("/api/remote/servers/%s/container/status", sid), d{"data": sc})
resp, err := c.Post(ctx, fmt.Sprintf("/servers/%s/container/status", sid), d{"data": sc})
if err != nil {
return errors.WithStackIf(err)
}
Expand Down

0 comments on commit c55417c

Please sign in to comment.