Skip to content

Commit

Permalink
Merge pull request #44 from cysnake4713/master.fix_department
Browse files Browse the repository at this point in the history
[FIX]Enterprise Department update API:param ' parent_id' map error
  • Loading branch information
messense committed May 2, 2015
2 parents ce3783a + a8cfc6b commit 02fa4c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wechatpy/enterprise/client/api/department.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def update(self, id, name=None, parent_id=None, order=None):
department_data = NotNoneDict()
department_data['id'] = id
department_data['name'] = name
department_data['parent_id'] = parent_id
department_data['parentid'] = parent_id
department_data['order'] = order
return self._post(
'department/update',
Expand Down

0 comments on commit 02fa4c4

Please sign in to comment.