Explorar el Código

fix(backend): songs module should use songs schema in redis, not mongo

Jonathan Graham hace 4 años
padre
commit
327bef8baa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      backend/logic/songs.js

+ 1 - 1
backend/logic/songs.js

@@ -16,7 +16,7 @@ class SongsModule extends CoreClass {
 		this.utils = this.moduleManager.modules.utils;
 
 		const songModel = await this.db.runJob("GET_MODEL", { modelName: "song" });
-		const songSchema = await this.db.runJob("GET_SCHEMA", { schemaName: "song" });
+		const songSchema = await this.cache.runJob("GET_SCHEMA", { schemaName: "song" });
 
 		this.setStage(2);