Closed Simple7575 closed 1 year ago
Updated imports from
import MongoStorage from "@grammyjs/storage-mongodb";
to
import { MongoDBAdapter, ISession } from "@grammyjs/storage-mongodb";
becouse version "^2.2.0" throws Error "The requested module '@grammyjs/storage-mongodb' does not provide an export named 'default'"
Thanks.
Updated imports from
to
becouse version "^2.2.0" throws Error "The requested module '@grammyjs/storage-mongodb' does not provide an export named 'default'"