From 3beb321ce7839dd324b2dda691d4896746c17186 Mon Sep 17 00:00:00 2001 From: Navy Date: Thu, 16 Apr 2020 14:51:59 +0300 Subject: [PATCH] thing --- storage/StorageManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/StorageManager.js b/storage/StorageManager.js index 80168bc..b5e3068 100644 --- a/storage/StorageManager.js +++ b/storage/StorageManager.js @@ -45,7 +45,7 @@ class StorageManager { if(!message.provider) return this._send(shard, { error: true, message: "Provider not provided", transactionID: message.transactionID }); if(!this.providers.has(message.provider)) return this._send(shard, { error: true, message: `Invalid provider, expected 'mongodb' or 'mariadb', got '${message.provider}'`, transactionID: message.transactionID }); - if(!message.request) return this._send(shard, { error: true, message: `Missing query.`, transactionID: message.transactionID }); + if(!message.request) return this._send(shard, { error: true, message: `Missing request.`, transactionID: message.transactionID }); const response = await this.providers.get(message.provider)._query(message.request);