Priority needs to be def

This commit is contained in:
Owen
2025-10-16 14:51:42 -07:00
parent a91ebd1e91
commit 08b7d6735c

View File

@@ -179,7 +179,8 @@ export async function createTarget(
.insert(targets)
.values({
resourceId,
...targetData
...targetData,
priority: targetData.priority || 100
})
.returning();
} else {