Change other state when the other is updated

This commit is contained in:
2021-10-13 20:49:48 +02:00
parent 984daac040
commit 0f5f0d7c66
2 changed files with 2 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ async function getCurrentTime(): Promise<void> {
if (redis_state !== active) {
await Redis.set('states:developing', String(active))
await Redis.set('states:sleeping', String(!active))
}
}
}