Signed-off-by: OpenClaw Bot <ai-agent@topdoglabs.com>
This commit is contained in:
parent
b1fb8284b1
commit
3bd4419866
@ -474,9 +474,11 @@ async function getMachineAuthenticatedUser(): Promise<AuthUser | null> {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
const machineUserId = process.env.GANTT_MACHINE_USER_ID || "machine-service-user";
|
// Must always be a valid UUID because tasks.created_by_id / updated_by_id are UUID columns.
|
||||||
const machineUserName = process.env.GANTT_MACHINE_USER_NAME || "Mission Control Service";
|
// Keep a UUID fallback to avoid runtime 22P02 write failures when env injection is missing.
|
||||||
const machineUserEmail = process.env.GANTT_MACHINE_USER_EMAIL || "mission-control@internal.local";
|
const machineUserId = process.env.GANTT_MACHINE_USER_ID || "9c29cc99-81a1-4e75-8dff-cd7cc5ceb5aa";
|
||||||
|
const machineUserName = process.env.GANTT_MACHINE_USER_NAME || "Max";
|
||||||
|
const machineUserEmail = process.env.GANTT_MACHINE_USER_EMAIL || "max@internal.local";
|
||||||
|
|
||||||
return {
|
return {
|
||||||
id: machineUserId,
|
id: machineUserId,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user