init class when cleaning up

This commit is contained in:
2025-04-28 17:06:49 +02:00
parent 8424c324e8
commit 4d515f0784
+1 -1
View File
@@ -158,5 +158,5 @@ class Server:
self._delete_game_board(game_state)
def _cleanup_database(self):
storage = StorageLoader.build(self.storage_type)
storage = StorageLoader.build(self.storage_type)()
return jsonify(storage.cleanup())