oak-backend-base 3.5.1 → 3.5.2
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/lib/AppLoader.js +1 -3
- package/lib/Synchronizer.js +1 -1
- package/package.json +1 -1
package/lib/AppLoader.js
CHANGED
|
@@ -91,9 +91,7 @@ class AppLoader extends types_1.AppLoader {
|
|
|
91
91
|
async makeContext(cxtStr, headers) {
|
|
92
92
|
const context = this.contextBuilder(this.dbStore);
|
|
93
93
|
await context.begin();
|
|
94
|
-
|
|
95
|
-
await context.initialize(JSON.parse(cxtStr));
|
|
96
|
-
}
|
|
94
|
+
await context.initialize(cxtStr ? JSON.parse(cxtStr) : undefined);
|
|
97
95
|
context.headers = headers;
|
|
98
96
|
return context;
|
|
99
97
|
}
|
package/lib/Synchronizer.js
CHANGED
|
@@ -229,7 +229,7 @@ class Synchronizer {
|
|
|
229
229
|
this.pushOperToChannel(oper2, userId, url, endpoint, entity, entityId, selfEncryptInfo, onSynchronized);
|
|
230
230
|
};
|
|
231
231
|
for (const userId in userSendDict) {
|
|
232
|
-
if (userId !== operatorId) {
|
|
232
|
+
if (userId !== operatorId || oper.bornAt) {
|
|
233
233
|
await pushToUserIdFn(userId);
|
|
234
234
|
pushed = true;
|
|
235
235
|
}
|