@edgedev/firebase 2.1.40 → 2.1.41
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/edgeFirebase.ts +3 -2
- package/package.json +1 -1
package/edgeFirebase.ts
CHANGED
|
@@ -197,7 +197,7 @@ interface permissionStatus {
|
|
|
197
197
|
|
|
198
198
|
interface User {
|
|
199
199
|
userId: string;
|
|
200
|
-
|
|
200
|
+
docId: string;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
interface Meta {
|
|
@@ -818,7 +818,8 @@ export const EdgeFirebase = class {
|
|
|
818
818
|
const users = Object.values(this.state.users) as User[];
|
|
819
819
|
const user = users.find((u) => u.userId === userId);
|
|
820
820
|
if (user) {
|
|
821
|
-
|
|
821
|
+
console.log(user)
|
|
822
|
+
stagedDocId = user.docId;
|
|
822
823
|
} else {
|
|
823
824
|
return this.sendResponse({
|
|
824
825
|
success: false,
|