@social-mail/social-mail-client 1.2.487 → 1.2.488

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.
@@ -39199,11 +39199,13 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
39199
39199
  return __awaiter(this, void 0, void 0, function* () {
39200
39200
  yield this.entityService.save(fa);
39201
39201
  const {
39202
- accessID
39202
+ fileID,
39203
+ userID
39203
39204
  } = fa;
39204
39205
  return this.entityService.query(AppFileAccess).where({
39205
- accessID
39206
- }, p => x => x.accessID === p.accessID).include(x => x.user).firstOrDefault();
39206
+ userID,
39207
+ fileID
39208
+ }, p => x => x.fileID === p.fileID && x.userID === p.userID).include(x => x.user).firstOrDefault();
39207
39209
  });
39208
39210
  }
39209
39211
  };