@live-change/access-control-service
Advanced tools
Comparing version 0.2.36 to 0.2.37
@@ -72,3 +72,3 @@ const App = require("@live-change/framework") | ||
definition.trigger({ | ||
name: 'contactOrUserOwnedInvitationMoved', | ||
name: 'contactOrUserOwnedAccessInvitationMoved', | ||
properties: { | ||
@@ -102,2 +102,10 @@ ...contactProperties, | ||
const invitationData = await AccessInvitation.get(invitation) | ||
console.error("MOVED!!!", { | ||
...invitationData, | ||
type: 'notify', | ||
sessionOrUserType: 'user_User', | ||
sessionOrUser: to.contactOrUser, | ||
notificationType: 'accessControl_Invitation', | ||
id: undefined | ||
}) | ||
if(to.contactOrUserType == 'user_User') { | ||
@@ -271,2 +279,2 @@ await service.trigger({ | ||
} | ||
} |
{ | ||
"name": "@live-change/access-control-service", | ||
"version": "0.2.36", | ||
"version": "0.2.37", | ||
"description": "", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "7175d4ca2f3308188b65f1093530091a2e8e0ca2" | ||
"gitHead": "f3bc615d20a0112c7cc76d55ba1cbefb53b84f01" | ||
} |
16534
462