diff --git a/phab-comment.php b/phab-comment.php index bf0075e..02f55cc 100755 --- a/phab-comment.php +++ b/phab-comment.php @@ -1,56 +1,57 @@ #!/usr/bin/php $argv[1], 'transactions' => [ [ 'type' => 'comment', 'value' => $message, ] ], ]; $client = new ConduitClient('https://gitpull.it/'); $client->setConduitToken(PHABRICATOR_API_TOKEN); try { $result = $client->callMethodSynchronous('differential.revision.edit', $api_parameters); //print_r($result); } catch( Exception $e ) { print_r( $api_parameters ); echo "ERROR COMMENTING: " . $e->getMessage() . "\n"; }