adapter provider

This commit is contained in:
Leifer Mendez
2022-11-09 12:42:01 +01:00
parent 39e2356feb
commit 83df967247
5 changed files with 43 additions and 7 deletions

View File

@@ -1,7 +1,11 @@
class DatabaseClass {
constructor() {}
engineDB
constructor(_engineDB) {
this.engineDB = _engineDB
}
saveLog = (ctx) => {
this.engineDB.save(ctx)
return ctx
}
}