Skip to content

Commit 7d4785f

Browse files
committed
Fix tag delete.
1 parent a973921 commit 7d4785f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Models/Tag.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ public function delete()
2020
$this->request->request(
2121
sprintf(
2222
'organizations/%s/tags/%s/sites?entity=%s',
23-
$membership->getOrganization()->id,
23+
$membership->attributes->organization_id,
2424
$this->id,
25-
$membership->getSite()->id
25+
$membership->attributes->site_id
2626
),
2727
['method' => 'delete',]
2828
);

0 commit comments

Comments
 (0)