@nmshd/connector-tui 0.0.1-beta.5 → 0.0.1-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -87,8 +87,8 @@ export function AddShareRequestByTemplate(Base) {
|
|
|
87
87
|
return createAttributeResponse.result;
|
|
88
88
|
}
|
|
89
89
|
async createQRCodeForRelationshipTemplate(request, name) {
|
|
90
|
-
const
|
|
91
|
-
"@type": "
|
|
90
|
+
const content = {
|
|
91
|
+
"@type": "RelationshipTemplateContent",
|
|
92
92
|
title: `Kontaktanfrage mit ${name}`,
|
|
93
93
|
metadata: {
|
|
94
94
|
webSessionId: "12345",
|
|
@@ -96,7 +96,7 @@ export function AddShareRequestByTemplate(Base) {
|
|
|
96
96
|
onNewRelationship: request,
|
|
97
97
|
};
|
|
98
98
|
const template = await this.connectorClient.relationshipTemplates.createOwnRelationshipTemplate({
|
|
99
|
-
content
|
|
99
|
+
content,
|
|
100
100
|
expiresAt: DateTime.now().plus({ days: 2 }).toISO(),
|
|
101
101
|
});
|
|
102
102
|
const templateId = template.result.id;
|