github.com/snyk/vervet/v5@v5.11.1-0.20240202085829-ad4dd7fb6101/testdata/resources/projects/2021-06-04/getOrgsProjects.ts (about) 1 import type * as express from 'express'; 2 import type { V3Request, V3Response } from '../../../../framework'; 3 4 export const getOrgsProjects = async ( 5 req: V3Request, 6 res: V3Response, 7 next: express.NextFunction, 8 ) => { 9 try { 10 const response = {}; 11 // TODO: your controller code here 12 return res.sendResponse(200, response); 13 } catch (error) { 14 // Fallback to the default error handler 15 next(error); 16 } 17 };