X-Git-Url: https://git.cweiske.de/shpub.git/blobdiff_plain/f46e4d3108d944bcf86f5905780f1fcfd441c036..96196413bef5ffb4ec3e09770b4e6847090dd71e:/src/shpub/Command/Repost.php diff --git a/src/shpub/Command/Repost.php b/src/shpub/Command/Repost.php index 3c39178..6d78609 100644 --- a/src/shpub/Command/Repost.php +++ b/src/shpub/Command/Repost.php @@ -24,8 +24,8 @@ class Command_Repost extends Command_AbstractProps } $req = new Request($this->cfg->host, $this->cfg); - $req->req->addPostParameter('h', 'entry'); - $req->req->addPostParameter('repost-of', $url); + $req->setType('entry'); + $req->addProperty('repost-of', $url); $this->handleGenericOptions($cmdRes, $req); $res = $req->send();