completionId: cgen-77cad85f6231453a92fb06fdd65dec70
cgen-77cad85f6231453a92fb06fdd65dec70
This commit is contained in:
parent
c0d0e86f58
commit
54d6b53f47
1 changed files with 2 additions and 2 deletions
|
|
@ -68,8 +68,8 @@ export default async function handler(req: any, res: any) {
|
|||
return res.status(404).json({ error: "Agreement not found" });
|
||||
}
|
||||
|
||||
const artist = agreement.ethos_tracks?.user_profiles;
|
||||
const licensee = agreement.user_profiles;
|
||||
const artist = agreement.ethos_tracks?.user_profiles?.[0];
|
||||
const licensee = agreement.user_profiles?.[0];
|
||||
const trackTitle = agreement.ethos_tracks?.title;
|
||||
|
||||
if (!artist?.email) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue