@7365admin1/layer-common 3.0.23 → 3.0.24
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.
package/CHANGELOG.md
CHANGED
|
@@ -1210,6 +1210,7 @@ async function submitServiceProviderInvite() {
|
|
|
1210
1210
|
serviceProviderInvite.value.siteName ||
|
|
1211
1211
|
site.value?.name ||
|
|
1212
1212
|
props.siteName,
|
|
1213
|
+
app: serviceProviderInvite.value.app,
|
|
1213
1214
|
|
|
1214
1215
|
inviteType: existingAccount.value ? "create-org" : "organization-invite",
|
|
1215
1216
|
});
|
|
@@ -174,13 +174,14 @@ export default function useServiceProvider() {
|
|
|
174
174
|
orgId = "",
|
|
175
175
|
siteId = "",
|
|
176
176
|
siteName = "",
|
|
177
|
+
app = "",
|
|
177
178
|
inviteType=""
|
|
178
179
|
} = {}) {
|
|
179
180
|
return useNuxtApp().$api<Record<string, any>>(
|
|
180
181
|
"/api/service-providers/invite",
|
|
181
182
|
{
|
|
182
183
|
method: "POST",
|
|
183
|
-
body: { email, orgId, siteId, siteName, inviteType },
|
|
184
|
+
body: { email, orgId, siteId, siteName, app, inviteType },
|
|
184
185
|
}
|
|
185
186
|
);
|
|
186
187
|
}
|