Browse Source

(fix) member add

master
Alexeev Nickolay 6 years ago
parent
commit
4e2fd22a3e
  1. 2
      setup.py
  2. 2
      yandex_connect/directory.py

2
setup.py

@ -8,7 +8,7 @@ with open(path.join(this_directory, 'README.md')) as f:
long_description = f.read()
setup(name='yandex_connect',
version='0.2b',
version='0.22b',
description='API Yandex Connect',
url='http://github.com/zt50tz/yandex-connect',
author='Alexeev Nick',

2
yandex_connect/directory.py

@ -418,7 +418,7 @@ class YandexConnectDirectory(YandexConnectBase):
for user_item_id in user_id:
ret.append(self.group_member_add(group_id, user_item_id, user_type=user_type))
return ret
user_id = self.user_get_id_by_nickname(user_id)
user_id = self.user_id_check(user_id)
data = {
'id': user_id,
'type': user_type

Loading…
Cancel
Save