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

Saving change on list deletes it #1

Open
msvrtan opened this issue Mar 8, 2014 · 1 comment
Open

Saving change on list deletes it #1

msvrtan opened this issue Mar 8, 2014 · 1 comment

Comments

@msvrtan
Copy link

msvrtan commented Mar 8, 2014

Saving changes on lists deletes list (Lane class). All I want to do is add 'a' to lists name and Trello somehow deletes this list :(

Here is my code sample:

$client = new \Trello\Client(
$key,
$token
);

$board = $client->getBoard($boardId);

$lists = $board->getLists();

foreach ($lists as $list) {
$list->name .= 'a';
$list = $list->save();
}

@ashwinks
Copy link
Owner

Strange, I'll take a look

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

2 participants