| 123456789101112 |
- module.exports = function(){
- this.bindHook('import_data', function(importDataModule){
- importDataModule.swagger = async (res)=>{
- try{
- return await require('./run.js')(res)
- }catch(err){
- this.commons.log(err, 'error')
- return false;
- }
- }
- })
- }
|