summaryrefslogtreecommitdiff
path: root/packages/backend/tools/refresh-question.js
blob: 0536c38207135b8d1b5e36d03c305bed1953cfb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const question_1 = require("@/remote/activitypub/models/question");
async function main(uri) {
    return await (0, question_1.updateQuestion)(uri);
}
const args = process.argv.slice(2);
const uri = args[0];
main(uri).then(result => {
    console.log(`Done: ${result}`);
}).catch(e => {
    console.warn(e);
});
//# sourceMappingURL=refresh-question.js.map