av6-core 1.7.11 → 1.7.12

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/dist/index.js CHANGED
@@ -3752,7 +3752,9 @@ var NotificationService = class {
3752
3752
  if (!userIds.length) return /* @__PURE__ */ new Map();
3753
3753
  const rows = await this.prisma.session.findMany({
3754
3754
  where: {
3755
- userId: { in: userIds },
3755
+ user: {
3756
+ userId: { in: userIds }
3757
+ },
3756
3758
  deviceNotificationToken: { not: null },
3757
3759
  logoutAt: null
3758
3760
  },
package/dist/index.mjs CHANGED
@@ -3696,7 +3696,9 @@ var NotificationService = class {
3696
3696
  if (!userIds.length) return /* @__PURE__ */ new Map();
3697
3697
  const rows = await this.prisma.session.findMany({
3698
3698
  where: {
3699
- userId: { in: userIds },
3699
+ user: {
3700
+ userId: { in: userIds }
3701
+ },
3700
3702
  deviceNotificationToken: { not: null },
3701
3703
  logoutAt: null
3702
3704
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "av6-core",
3
- "version": "1.7.11",
3
+ "version": "1.7.12",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",