Skip to content

Commit

Permalink
Update process-link.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
devkiran committed Jan 31, 2025
1 parent 924e578 commit ba98ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/lib/api/links/process-link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export async function processLink<T extends Record<string, any>>({

if (!partnerId) {
partnerId =
program.partners.length > 0 ? program.partners[0].partnerId : null;
program?.partners?.length > 0 ? program.partners[0].partnerId : null;
}
}

Expand Down

0 comments on commit ba98ef6

Please sign in to comment.