This repository has been archived on 2025-11-04. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
qoverflow/server/utils/cronRefresh.js
2022-07-28 20:13:57 -04:00

15 lines
No EOL
294 B
JavaScript

const { getAllQuestions, getAllUsers } = require('./getData');
async function refreshQuestions(_job, done) {
await getAllQuestions();
done();
}
async function refreshUsers(_job, done) {
await getAllUsers();
done();
}
module.exports = {
refreshQuestions,
refreshUsers
}