feat(api): complete unified v2 mobile surface
This commit is contained in:
@@ -562,6 +562,7 @@ export async function createOrder(actor, payload) {
|
||||
`
|
||||
INSERT INTO shift_roles (
|
||||
shift_id,
|
||||
role_id,
|
||||
role_code,
|
||||
role_name,
|
||||
workers_needed,
|
||||
@@ -570,10 +571,11 @@ export async function createOrder(actor, payload) {
|
||||
bill_rate_cents,
|
||||
metadata
|
||||
)
|
||||
VALUES ($1, $2, $3, $4, 0, $5, $6, $7::jsonb)
|
||||
VALUES ($1, $2, $3, $4, $5, 0, $6, $7, $8::jsonb)
|
||||
`,
|
||||
[
|
||||
shift.id,
|
||||
roleInput.roleId || null,
|
||||
roleInput.roleCode,
|
||||
roleInput.roleName,
|
||||
roleInput.workersNeeded,
|
||||
|
||||
Reference in New Issue
Block a user