Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolezhniuk committed Jan 29, 2025
1 parent f4c864f commit a95be40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iden3comm/handlers/credential-proposal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ export function createProposalRequest(
type: PROTOCOL_MESSAGE_TYPE.PROPOSAL_REQUEST_MESSAGE_TYPE,
body: opts,
created_time: getUnixTimestamp(new Date()),
expires_time: opts?.expires_time ? getUnixTimestamp(opts.expires_time) : undefined
expires_time: opts?.expires_time ? getUnixTimestamp(opts.expires_time) : undefined,
attachments: opts.attachments
};
opts.attachments?.length && (request.attachments = opts.attachments);
return request;
}

Expand Down

0 comments on commit a95be40

Please sign in to comment.