mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-03-14 01:28:14 -04:00
Fix reconfigure not respecting expansions
This commit is contained in:
parent
981d5a199f
commit
ad41cc985d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user