From b481e01c1d6257cf119baf740724e1f72d6bf68a Mon Sep 17 00:00:00 2001 From: Navy Date: Sun, 9 Aug 2020 02:23:48 +0300 Subject: [PATCH] role cache getter --- structure/storage/providers/Mongodb.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/structure/storage/providers/Mongodb.js b/structure/storage/providers/Mongodb.js index 2fa6d95..7ba8b4f 100644 --- a/structure/storage/providers/Mongodb.js +++ b/structure/storage/providers/Mongodb.js @@ -49,6 +49,10 @@ class MongoDBProvider extends Provider { return this.tables.users; } + get role_cache() { + return this.tables.role_cache; + } + } module.exports = MongoDBProvider; \ No newline at end of file