Skip to content

Commit e72c6a5

Browse files
committed
fix: remove backup for declared repository
Signed-off-by: Umberto Sgueglia <usgueglia@contractor.linuxfoundation.org>
1 parent aaed25b commit e72c6a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/src/api/public/v1/packages/getPackage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export async function getPackage(req: Request, res: Response): Promise<void> {
130130
},
131131
provenance: {
132132
repositoryMapping: {
133-
declaredRepo: pkg.repoUrl ?? pkg.repositoryUrl ?? pkg.declaredRepositoryUrl ?? null,
133+
declaredRepo: pkg.repoUrl ?? pkg.repositoryUrl ?? null,
134134
mappingConfidence,
135135
mappingLabel: repoMappingLabel(mappingConfidence),
136136
lastCommitAt: pkg.repoLastCommitAt ? pkg.repoLastCommitAt.toISOString() : null,

0 commit comments

Comments
 (0)