Bug de finaliazacion de tareas erroneas
This commit is contained in:
@@ -171,7 +171,7 @@ export class ObjeniousOperationsRepository implements IOperationsRepository {
|
||||
request_id = COALESCE($4, request_id),
|
||||
mass_action_id = COALESCE($5, mass_action_id),
|
||||
last_change_date = now() at time zone 'utc',
|
||||
end_date = CASE WHEN $2 IN ('finished') THEN now() at time zone 'utc' ELSE end_date END,
|
||||
end_date = CASE WHEN $2 IN ('finished','error') THEN now() at time zone 'utc' ELSE end_date END,
|
||||
objenious_status = $6
|
||||
WHERE id = $1`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user