bot-api/tests/populateDatabase.ts

16 lines
363 B
TypeScript
Raw Normal View History

2023-12-29 14:24:29 +00:00
import authModel from "../src/models/AuthModel";
import imageModel from "../src/models/ImageModel";
export default async function () {
await imageModel.create({
url: "https://example.com",
status: "consumed",
tags: ["2girls", "sleeping"],
});
await authModel.create({
app: "tester",
secret: "test",
});
}