mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Fix malformed urls
This commit is contained in:
parent
328b270c9f
commit
b2ad75a1b7
@ -25,7 +25,7 @@ class JobTemplates extends SchedulesMixin(
|
||||
}
|
||||
|
||||
readTemplateOptions(id) {
|
||||
return this.http.options(`${this.baseUrl}/${id}/`);
|
||||
return this.http.options(`${this.baseUrl}${id}/`);
|
||||
}
|
||||
|
||||
readLaunch(id) {
|
||||
|
||||
@ -7,14 +7,14 @@ class Roles extends Base {
|
||||
}
|
||||
|
||||
disassociateUserRole(roleId, userId) {
|
||||
return this.http.post(`${this.baseUrl}/${roleId}/users/`, {
|
||||
return this.http.post(`${this.baseUrl}${roleId}/users/`, {
|
||||
disassociate: true,
|
||||
id: userId,
|
||||
});
|
||||
}
|
||||
|
||||
disassociateTeamRole(roleId, teamId) {
|
||||
return this.http.post(`${this.baseUrl}/${roleId}/teams/`, {
|
||||
return this.http.post(`${this.baseUrl}${roleId}/teams/`, {
|
||||
disassociate: true,
|
||||
id: teamId,
|
||||
});
|
||||
|
||||
@ -13,7 +13,7 @@ class WorkflowJobTemplates extends SchedulesMixin(NotificationsMixin(Base)) {
|
||||
}
|
||||
|
||||
readWorkflowJobTemplateOptions(id) {
|
||||
return this.http.options(`${this.baseUrl}/${id}/`);
|
||||
return this.http.options(`${this.baseUrl}${id}/`);
|
||||
}
|
||||
|
||||
updateWebhookKey(id) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user