Mock database hotfix
All checks were successful
Setup testing environment and test the code / build (push) Successful in 1m6s

This commit is contained in:
2026-04-07 11:37:29 +02:00
parent 55e4aad0a9
commit e6798b4be8

View File

@@ -4,6 +4,9 @@ export class DatabaseMock implements DatabaseAPI {
database: { [collection: string]: { [key: string]: string } } = {};
set(collection: string, key: string, value: any) {
if (!this.database[collection]) {
this.database[collection] = {};
}
this.database[collection][key] = JSON.stringify(value);
}