Hi every one,
i have some problem with webhook function
When i verify webhook event signature with event: post_created => verify pass
but with event: reviewable_transitioned_to => verify fail.
Can you recheck this issue.
Thank you so much
HEADER:
Request URL: https://hei-app-store-dev-backend.azurewebsites.net/api/hook/discourse/post?key=h6y0wnaNe05eUqKxTGLj
Request method: POST
Accept: */*
Connection: close
Content-Length: 682
Content-Type: application/json
Host: hei-app-store-dev-backend.azurewebsites.net
User-Agent: Discourse/3.2.0.beta5-dev
X-Discourse-Instance: https://app-store-dev-heineken.discourse.group
X-Discourse-Event-Id: 15
X-Discourse-Event-Type: reviewable
X-Discourse-Event: reviewable_transitioned_to
X-Discourse-Event-Signature: sha256=ebe6c9b98d3f9c167746601bb1150d1fc9698f8f7d26d55ad4bb775008799d26
BODY
{
"reviewable": {
"id": 3,
"type": "ReviewableQueuedPost",
"topic_id": 22,
"topic_url": "https://app-store-dev-heineken.discourse.group/t/product-1-product-1/22",
"target_url": "https://app-store-dev-heineken.discourse.group/t/product-1-product-1/22/2",
"topic_tags": [],
"category_id": 4,
"created_at": "2024-01-26T06:21:57.870Z",
"can_edit": false,
"score": 6,
"version": 1,
"target_created_by_trust_level": 1,
"created_from_flag": false,
"status": 1,
"post_id": 47,
"payload": {
"raw": "good afternoon",
"is_poll": true,
"typing_duration_msecs": 1400,
"composer_open_duration_msecs": 6770,
"tags": null
},
"created_by_id": -1,
"target_created_by_id": 3,
"editable_fields": [],
"reviewable_score_ids": [
3
],
"bundled_action_ids": []
}
}
SECRET
h6y0wnaNe05eUqKxTGLj