# Não estou recebendo campos personalizados no evento :approved\_post

**URL:** https://meta.discourse.org/t/not-getting-custom-fields-on-approved-post-event/125649
**Category:** Development
**Created:** [Agosto 13, 2019, 10:22am UTC](https://meta.discourse.org/t/not-getting-custom-fields-on-approved-post-event/125649 "2019-08-13T10:22:28Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Roman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roman/32/157504_2.png) [@Roman](https://meta.discourse.org/u/Roman)
#### Post date: [Agosto 14, 2019, 5:42pm UTC](https://meta.discourse.org/t/not-getting-custom-fields-on-approved-post-event/125649/5 "2019-08-14T17:42:38Z")

</div>

Confirmo que isso é um bug. `is_poll` não está sendo armazenado dentro do payload, tornando o callback inútil.

Aqui está um PR para corrigir isso:

> <https://github.com/discourse/discourse/pull/8009>
>
> The "is\_poll" attribute is not being stored in the reviewable payload. This caus…es the callback defined by the Poll plugin to be useless.
> 
> To fix this, plugins are now able to extend the list of allowed payload attributes.

Também adicionei uma nova interface para que possamos estender a lista de atributos permitidos a partir de um plugin.

---

_[View the full topic](https://meta.discourse.org/t/not-getting-custom-fields-on-approved-post-event/125649)._
