mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Fix reconfigure not respecting expansions
This commit is contained in:
parent
981d5a199f
commit
ad41cc985d
@ -301,7 +301,10 @@ const internalProxyHost = {
|
|||||||
enable: (access, data) => {
|
enable: (access, data) => {
|
||||||
return access.can('proxy_hosts:update', data.id)
|
return access.can('proxy_hosts:update', data.id)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
return internalProxyHost.get(access, {id: data.id});
|
return internalProxyHost.get(access, {
|
||||||
|
id: data.id,
|
||||||
|
expand: ['certificate', 'owner', 'access_list']
|
||||||
|
});
|
||||||
})
|
})
|
||||||
.then(row => {
|
.then(row => {
|
||||||
if (!row) {
|
if (!row) {
|
||||||
|
Loading…
Reference in New Issue
Block a user