# Proprietários não são atribuíveis quando o Grupo é criado via chamada de API

**URL:** <https://meta.discourse.org/t/owners-are-not-assignable-when-group-created-via-api-call/94913>\
**Category:** Development\
**Created:** [16 Agosto , 2018 19:58 UTC](https://meta.discourse.org/t/owners-are-not-assignable-when-group-created-via-api-call/94913 "2018-08-16T19:58:13Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![typeoneerror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/typeoneerror/32/80817_2.png) [@typeoneerror](https://meta.discourse.org/u/typeoneerror)\
**Post date:** [16 Agosto , 2018 20:26 UTC](https://meta.discourse.org/t/owners-are-not-assignable-when-group-created-via-api-call/94913/3 "2018-08-16T20:26:33Z")

</div>

> [@typeoneerror](#):
>
> - users = User.where(username: group\_params[:usernames].split(“,”))

And there it is.

`owner_usernames` and `usernames` should be a comma-delimted string, not an array. Sorry for the false report.

---

_[View the full topic](https://meta.discourse.org/t/owners-are-not-assignable-when-group-created-via-api-call/94913)._
