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

Method to update attributes by userid in user_attribute (API 1) #49

Merged
merged 3 commits into from Mar 2, 2017

Conversation

SRJ9
Copy link
Contributor

@SRJ9 SRJ9 commented Feb 22, 2017

Added method to update a list of attributes that are present in the table, passing a userid and a dictionary [{"attributeid": "value", ... }], returning all attributes of that userid even though they have not been updated. Also, through another method, you can update one attribute individually.

Also I intend to create a method for delete attributes.

@michield
Copy link
Member

michield commented Mar 1, 2017

I can't merge this one, it has conflicts. Can you rebase and redo the PR?
thanks

@SRJ9
Copy link
Contributor Author

SRJ9 commented Mar 2, 2017

Fixed.

@michield michield merged commit b8fb389 into phpList:master Mar 2, 2017
@michield
Copy link
Member

michield commented Mar 2, 2017

Thanks. I got the testing back in action https://travis-ci.org/phpList/phplist-plugin-restapi

I would be nice to add unit tests for your new methods :-)

@SRJ9
Copy link
Contributor Author

SRJ9 commented Mar 9, 2017

In the following weeks I will try to make them.

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

Successfully merging this pull request may close these issues.

None yet

2 participants