Priority needs to be def

This commit is contained in:
Owen
2025-10-16 14:51:42 -07:00
parent 59a334ce24
commit bb6e093ac6

View File

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