Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 202f80e2
authored
Oct 08, 2021
by
irul
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
remark: del data['user_id]
1 parent
7ef21837
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
opensipkd/base/views/user_rpc.py
opensipkd/base/views/user_rpc.py
View file @
202f80e
...
@@ -189,7 +189,7 @@ def register_user_(data, user, groups=None):
...
@@ -189,7 +189,7 @@ def register_user_(data, user, groups=None):
row
=
save_groups
(
data
,
None
)
row
=
save_groups
(
data
,
None
)
ret_groups
.
append
(
dict
(
group_name
=
group
))
ret_groups
.
append
(
dict
(
group_name
=
group
))
del
data
[
'group_id'
]
del
data
[
'group_id'
]
del
data
[
'user_id'
]
#
del data['user_id']
data
[
'groups'
]
=
ret_groups
data
[
'groups'
]
=
ret_groups
result
.
append
(
data
)
result
.
append
(
data
)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment