Add automatic paypal charging, add ticket page mock
This commit is contained in:
@@ -4,7 +4,7 @@ from beanie import init_beanie
|
||||
from pymongo import AsyncMongoClient
|
||||
from pymongo.asynchronous.collection import AsyncCollection
|
||||
|
||||
from elm.types import User, Transaction
|
||||
from elm.types import User, Transaction, Ticket
|
||||
from elm.types.ConfigurationTypes import DatabaseConfiguration
|
||||
|
||||
logger = logging.getLogger(__name__.split(".")[-1])
|
||||
@@ -33,5 +33,5 @@ class DatabaseService:
|
||||
self._users: AsyncCollection = self._database["users"]
|
||||
await init_beanie(
|
||||
database=self._database,
|
||||
document_models=[User, Transaction]
|
||||
document_models=[User, Transaction, Ticket]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user