Skip to content

Commit

Permalink
🐛 fix project resonse schema
Browse files Browse the repository at this point in the history
  • Loading branch information
stepandel committed Sep 27, 2024
1 parent f8241dd commit 1292ebf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/api/common/projects/getProjects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ async function getProjectApi({
const projectData = project.ipfs_data ?? ({} as any);

return {
id: project.project_id,
id: project.application_id,
projectId: project.project_id,
applicationId: project.application_id,
category: project.category,
Expand All @@ -166,6 +166,9 @@ async function getProjectApi({
subcategory: project.application_subcategory,
statement: project.impact_statement,
},
testimonials: project.name
? `https://www.metricsgarden.xyz/projects/${encodeURIComponent(project.name)}`
: "",
};
}

Expand Down

0 comments on commit 1292ebf

Please sign in to comment.