Преглед на файлове

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

Jonathan Graham преди 4 години
родител
ревизия
327bef8baa
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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);