fix reverse proxy put and post

This commit is contained in:
pascal
2026-01-27 17:38:55 +01:00
parent 7b3523e25e
commit 73fbb3fc62
3 changed files with 5 additions and 4 deletions

View File

@@ -98,6 +98,7 @@ func (m *managerImpl) CreateReverseProxy(ctx context.Context, accountID, userID
m.accountManager.StoreEvent(ctx, userID, reverseProxy.ID, accountID, activity.ReverseProxyCreated, reverseProxy.EventMeta())
// TODO: refactor to avoid policy and group creation here
group := &types.Group{
ID: xid.New().String(),
Name: reverseProxy.Name,
@@ -128,7 +129,6 @@ func (m *managerImpl) CreateReverseProxy(ctx context.Context, accountID, userID
}
policy := &types.Policy{
ID: policyID,
AccountID: accountID,
Name: reverseProxy.Name,
Enabled: true,