Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments aren't triggering the webhook events #60

Open
rafistrauss opened this issue Apr 2, 2018 · 0 comments
Open

Comments aren't triggering the webhook events #60

rafistrauss opened this issue Apr 2, 2018 · 0 comments

Comments

@rafistrauss
Copy link

I have my server listening to webhook events like so:

$client = new Client();
$client->authenticate(Credentials::TrelloAPIKey, Credentials::TrelloAPIToken, Client::AUTH_URL_CLIENT_ID);

$service = new Service($client);

// Other event listeners here
$service->addListener(Events::CARD_COMMENT, function (CardCommentEvent $event) {
//    do something here
});
$service->handleWebhook();

However, when I comment on a card, nothing happens. Other triggers, like creating a card or changing a card's list, work perfectly.

rafistrauss pushed a commit to rafistrauss/php-trello-api that referenced this issue Apr 3, 2018
rafistrauss added a commit to rafistrauss/php-trello-api that referenced this issue Apr 3, 2018
Use string instead of non-existent CommentInterface (see cdaguerre#60)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant