From 279add9f4e674a5bfa2e8c39fc9d3ac3ec97ce5f Mon Sep 17 00:00:00 2001 From: sylvain-morin Date: Wed, 20 Sep 2023 19:19:48 +0200 Subject: [PATCH] Fix issues in projects endpoints (missing ID param, support array of IDs or slug, ...) --- openapi/paths/v2/projects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi/paths/v2/projects.js b/openapi/paths/v2/projects.js index 2beeb144..0f2166ed 100644 --- a/openapi/paths/v2/projects.js +++ b/openapi/paths/v2/projects.js @@ -1,7 +1,7 @@ const _ = require( "lodash" ); const projectsSearchSchema = require( "../../schema/request/projects_search" ); const transform = require( "../../joi_to_openapi_parameter" ); -const ProjectsController = require( "../../../lib/controllers/v2/projects_controller" ); +const ProjectsController = require( "../../../lib/controllers/v1/projects_controller" ); module.exports = sendWrapper => { async function GET( req, res ) {