12 lines
335 B
JavaScript
12 lines
335 B
JavaScript
|
|
const {fetchCommentsFromServiceNow } = require('../services/servicenowService');
|
||
|
|
const { syncCommentsGlpitoSN } = require('../services/glpiCommentService');
|
||
|
|
|
||
|
|
|
||
|
|
const processCommentsController = async () => {
|
||
|
|
await fetchCommentsFromServiceNow();
|
||
|
|
await syncCommentsGlpitoSN();
|
||
|
|
}
|
||
|
|
|
||
|
|
module.exports = {
|
||
|
|
processCommentsController
|
||
|
|
}
|