Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
itamarshubin committed Jul 22, 2024
1 parent 662919b commit d9b0a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants/subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const updateRelevantUsers = async (
userRef.get("subscribedUsers");

subscribedUsers?.forEach(async (user) => {
const userData = (await getDocFromServer<User>(user)).data();
const userData = (await getDocFromServer(user)).data();
userData &&
client.sendMessage(
userData.phone,
Expand Down

0 comments on commit d9b0a75

Please sign in to comment.