Skip to content

Commit 90c3933

Browse files
committed
fix typo
1 parent 1dbe1ce commit 90c3933

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

models/users.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,9 @@ const fetchPaginatedUsers = async (query) => {
167167
const allUsers = [];
168168

169169
snapshot.forEach((doc) => {
170-
const userData = doc.data();
171170
allUsers.push({
172171
id: doc.id,
173-
...userData,
172+
...doc.data(),
174173
phone: undefined,
175174
email: undefined,
176175
tokens: undefined,

0 commit comments

Comments
 (0)