Skip to content

Commit 97af95a

Browse files
authored
Merge pull request #1373 from credebl/develop
Fix Email Saving and Add Relations for Connection-Credential/Presentation Tables
2 parents 1cc84f0 + 38005c5 commit 97af95a

File tree

8 files changed

+227
-186
lines changed

8 files changed

+227
-186
lines changed

apps/issuance/src/issuance.repository.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ export class IssuanceRepository {
121121
schemaId: string;
122122
state: string;
123123
orgId: string;
124+
connections: {
125+
theirLabel: string;
126+
};
124127
}[];
125128
}> {
126129
try {
@@ -144,7 +147,12 @@ export class IssuanceRepository {
144147
orgId: true,
145148
state: true,
146149
schemaId: true,
147-
connectionId: true
150+
connectionId: true,
151+
connections: {
152+
select: {
153+
theirLabel: true
154+
}
155+
}
148156
},
149157
orderBy: {
150158
[issuedCredentialsSearchCriteria?.sortField]:

0 commit comments

Comments
 (0)