create qr-codes by tg bot
This commit is contained in:
@@ -33,6 +33,10 @@ const dbsSecurity = {
|
||||
admins: { roles: ["_admin"] },
|
||||
members: { roles: [] },
|
||||
},
|
||||
tg_bot: {
|
||||
admins: { roles: ["_admin"] },
|
||||
members: { roles: [] },
|
||||
},
|
||||
};
|
||||
|
||||
if (!process.env.API_URL) {
|
||||
@@ -94,7 +98,7 @@ export const down = async () => {
|
||||
if (responseDeleteDb.ok) {
|
||||
console.log(`deleted ${dbName}`);
|
||||
} else {
|
||||
throw new Error(
|
||||
console.error(
|
||||
`${dbName} delete error ${JSON.stringify(responseDeleteDb)}`,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user