mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	cleaned up unused jobs implementation
This commit is contained in:
		@@ -16,12 +16,6 @@ router.post('/exec', auth.checkApiAuth, wrap(async (req, res, next) => {
 | 
			
		||||
    });
 | 
			
		||||
}));
 | 
			
		||||
 | 
			
		||||
router.post('/job', auth.checkApiAuth, wrap(async (req, res, next) => {
 | 
			
		||||
    await script.setJob(req.body);
 | 
			
		||||
 | 
			
		||||
    res.send({});
 | 
			
		||||
}));
 | 
			
		||||
 | 
			
		||||
router.get('/startup', auth.checkApiAuth, wrap(async (req, res, next) => {
 | 
			
		||||
    const repository = new Repository(req);
 | 
			
		||||
    const notes = await attributes.getNotesWithAttribute(repository, "run", "frontend_startup");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user