Skip to content

Commit

Permalink
Unneeded comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kennsippell committed Dec 6, 2024
1 parent 8cb2840 commit 0a9db49
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/fn/upload-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ const preuploadAnalysis = filePaths =>
.filter(Boolean);

const handleUsersAtDeletedFacilities = async deletedDocIds => {
// how can we know which ids are worth querying? what about when we have delete-contacts and delete 10000 places?

const affectedUsers = await getAffectedUsers();
const usernames = affectedUsers.map(userDoc => userDoc.username).join(', ');
warn(`This operation will update permissions for ${affectedUsers.length} user accounts: ${usernames}. Are you sure you want to continue?`);
Expand Down

0 comments on commit 0a9db49

Please sign in to comment.