bot-image-moderation-fe/init-mongo.js

11 lines
151 B
JavaScript

db = new Mongo().getDB("bot");
db.createCollection("authorizations");
db.authorizations.insert([
{
app: "tester",
secret: "test",
},
]);