Skip to content

Commit

Permalink
Fix Worker resource delete method
Browse files Browse the repository at this point in the history
  • Loading branch information
riesjart authored Aug 29, 2020
1 parent 352e556 commit 08b9875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ class Worker extends Resource
*/
public function delete()
{
$this->forge->deleteRedirectRule($this->serverId, $this->siteId, $this->id);
$this->forge->deleteWorker($this->serverId, $this->siteId, $this->id);
}
}

0 comments on commit 08b9875

Please sign in to comment.