Fix reconfigure not respecting expansions

This commit is contained in:
Jamie Curnow 2019-01-03 20:32:57 +10:00
parent 981d5a199f
commit ad41cc985d

View File

@ -301,7 +301,10 @@ const internalProxyHost = {
enable: (access, data) => {
return access.can('proxy_hosts:update', data.id)
.then(() => {
return internalProxyHost.get(access, {id: data.id});
return internalProxyHost.get(access, {
id: data.id,
expand: ['certificate', 'owner', 'access_list']
});
})
.then(row => {
if (!row) {