Skip to content

Commit

Permalink
fix: End point changes
Browse files Browse the repository at this point in the history
  • Loading branch information
prasanth-ideas2it authored and yosuva-rajendran committed Dec 20, 2024
1 parent 3eae1f5 commit a2a50bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/projects.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ const formatToSave = (payload: any) => {

export const getProjectOsoDetails = async (name: string) => {
const requestOptions: RequestInit = { method: "GET", headers: getHeader(""), cache: "no-store" };
const response = await fetch(`${process.env.DIRECTORY_API_URL}/v1/oso-code-metrics-by-project-v1/${name}`, requestOptions);
const response = await fetch(`${process.env.DIRECTORY_API_URL}/v1/oso-metrics/${name}`, requestOptions);
if (!response?.ok) {
return { error: { statusText: response?.statusText } }
}
Expand Down

0 comments on commit a2a50bd

Please sign in to comment.