fix priority inside blueprints

This commit is contained in:
Pallavi Kumari
2025-10-06 01:22:23 +05:30
parent 1e4ca69c89
commit 043834274d

View File

@@ -113,12 +113,9 @@ export async function updateProxyResources(
internalPort: internalPortToCreate,
path: targetData.path,
pathMatchType: targetData["path-match"],
<<<<<<< HEAD
rewritePath: targetData.rewritePath,
rewritePathType: targetData["rewrite-match"]
=======
rewritePathType: targetData["rewrite-match"],
priority: targetData.priority
>>>>>>> b8d96345 (priority add for traefik config setup)
})
.returning();
@@ -366,12 +363,9 @@ export async function updateProxyResources(
enabled: targetData.enabled,
path: targetData.path,
pathMatchType: targetData["path-match"],
<<<<<<< HEAD
rewritePath: targetData.rewritePath,
rewritePathType: targetData["rewrite-match"]
=======
rewritePathType: targetData["rewrite-match"],
priority: targetData.priority
>>>>>>> b8d96345 (priority add for traefik config setup)
})
.where(eq(targets.targetId, existingTarget.targetId))
.returning();