mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-23 02:32:13 +01:00
fix add_me request
This commit is contained in:
parent
c226327ae5
commit
f729ea8e38
@ -1249,8 +1249,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
apiurl = self.get_api_url()
|
||||
|
||||
user = conf.get_apiurl_usr(apiurl)
|
||||
role = args[1]
|
||||
project = args[2]
|
||||
role = args[0]
|
||||
project = args[1]
|
||||
actionxml = """ <action type="add_role"> <target project="%s" /> <person name="%s" role="%s" /> </action> """ % \
|
||||
(project, user, role)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user