bot-mastodon-image-uploader/init-mongo.js

10 lines
148 B
JavaScript

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