summaryrefslogtreecommitdiff
path: root/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'api.py')
-rwxr-xr-xapi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/api.py b/api.py
index beae910..4fde7e0 100755
--- a/api.py
+++ b/api.py
@@ -481,11 +481,12 @@ class Controller(API):
'published_name': name,
}
- url = '{}/updaterepo'.format(self.DEPLOYER)
+ url = '{}/publish'.format(self.DEPLOYER)
argv = [
'curl',
'-HAuthorization: Bearer {}'.format(self._token),
'-HContent-Type: application/json',
+ '-X', 'POST',
'--data-binary', json.dumps(spec),
url,
]