WIP manual renewals - correct url

This commit is contained in:
Drew Warren 2017-06-23 15:01:19 -06:00
parent d5befcaa39
commit 3879129674
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ OAUTH3.api['domains.extend'] = function (providerUri, opts) {
return OAUTH3.request({
method: 'POST'
, url: OAUTH3.url.normalize(providerUri)
+ '/api/com.daplie.domains/accounts/' + session.token.sub + '/registrations'
+ '/api/com.daplie.domains/accounts/' + session.token.sub + '/registrations/' + opts.tld + '/' + opts.sld + '/extend'
, session: session
, data: opts.data
}).then(function (res) {