# Post\_edited webhook does not reflect updated topic title

**URL:** https://meta.discourse.org/t/post-edited-webhook-does-not-reflect-updated-topic-title/144722
**Category:** Bug
**Created:** [March 18, 2020, 2:54pm UTC](https://meta.discourse.org/t/post-edited-webhook-does-not-reflect-updated-topic-title/144722 "2020-03-18T14:54:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![plouf](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@plouf](https://meta.discourse.org/u/plouf)
#### Post date: [March 18, 2020, 2:54pm UTC](https://meta.discourse.org/t/post-edited-webhook-does-not-reflect-updated-topic-title/144722/1 "2020-03-18T14:54:20Z")

</div>

Hi,

i know there is a webhook for topic, but a topic also being a post, i assume this is a bug.  
When editing the topic title, the webhook post\_edited is posting the previous title, not the updated one.

Thank you

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [March 18, 2020, 5:41pm UTC](https://meta.discourse.org/t/post-edited-webhook-does-not-reflect-updated-topic-title/144722/2 "2020-03-18T17:41:04Z")

</div>

I just tested this on my local development site. I am finding the same thing as you are - the result of the post event webhook after editing a topic’s title gives the previous values for `topic_title` and `topic_slug`. The topic event webhook when a title is edited returns the updated values for `topic_title` and `topic_slug`.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [March 18, 2020, 11:13pm UTC](https://meta.discourse.org/t/post-edited-webhook-does-not-reflect-updated-topic-title/144722/3 "2020-03-18T23:13:08Z")

</div>

We should schedule this for fix @eviltrout?

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [March 23, 2020, 8:10pm UTC](https://meta.discourse.org/t/post-edited-webhook-does-not-reflect-updated-topic-title/144722/7 "2020-03-23T20:10:57Z")

</div>

This has been fixed:

[https://github.com/discourse/discourse/commit/c97244ca115c6e8d287d9c4e6033bf3e1d084f70](https://github.com/discourse/discourse/commit/c97244ca115c6e8d287d9c4e6033bf3e1d084f70)

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [March 23, 2020, 8:11pm UTC](https://meta.discourse.org/t/post-edited-webhook-does-not-reflect-updated-topic-title/144722/8 "2020-03-23T20:11:02Z")

</div>


