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

10 lines
148 B
JavaScript
Raw Permalink Normal View History

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