@stevenkellner/team-conduct-api 1.0.33 → 1.0.34

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.
@@ -22,6 +22,8 @@ class InvitationGetInvitationFunction extends firebase_function_1.FirebaseFuncti
22
22
  if (!personSnapshot.exists)
23
23
  return null;
24
24
  const person = types_1.Person.builder.build(personSnapshot.data);
25
+ if (person.signInProperties !== null)
26
+ return null;
25
27
  return {
26
28
  id: person.id,
27
29
  properties: person.properties
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stevenkellner/team-conduct-api",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "Firebase API for Team Conduct",
5
5
  "license": "MIT",
6
6
  "author": "Steven Kellner",
@@ -27,6 +27,8 @@ export class InvitationGetInvitationFunction extends FirebaseFunction<Invitation
27
27
  if (!personSnapshot.exists)
28
28
  return null;
29
29
  const person = Person.builder.build(personSnapshot.data);
30
+ if (person.signInProperties !== null)
31
+ return null;
30
32
  return {
31
33
  id: person.id,
32
34
  properties: person.properties