@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
@@ -1,5 +1,11 @@
1
1
  # @iservice365/layer-common
2
2
 
3
+ ## 3.0.24
4
+
5
+ ### Patch Changes
6
+
7
+ - 9eb5864: update invite service provider
8
+
3
9
  ## 3.0.23
4
10
 
5
11
  ### Patch Changes
@@ -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
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@7365admin1/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "3.0.23",
5
+ "version": "3.0.24",
6
6
  "author": "7365admin1",
7
7
  "main": "./nuxt.config.ts",
8
8
  "publishConfig": {