Adding more typings

This commit is contained in:
Christer Warén
2023-06-07 17:42:21 +03:00
parent 16ef8e70e6
commit 24a6e80f26
4 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export default function loadState(client: RadioClient, guild: OAuth2Guild) {
if(!data) return;
let state = data.state;
if(!state) return;
data.state = {};
data.state = null;
client.datastore.updateEntry(guild, data);
return state;
}