Merge branch 'main' of https://github.com/slopus/happy-server
This commit is contained in:
commit
0f9e7ca044
@ -1137,9 +1137,10 @@ export async function startApi(): Promise<{ app: FastifyInstance; io: Server }>
|
|||||||
metadata,
|
metadata,
|
||||||
metadataVersion: 1,
|
metadataVersion: 1,
|
||||||
daemonState: daemonState || null,
|
daemonState: daemonState || null,
|
||||||
daemonStateVersion: daemonState ? 1 : 0
|
daemonStateVersion: daemonState ? 1 : 0,
|
||||||
// active defaults to true in schema
|
// Default to offline - in case the user does not start daemon
|
||||||
// lastActiveAt defaults to now() in schema
|
active: false,
|
||||||
|
// lastActiveAt and activeAt defaults to now() in schema
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user