Skip to content

Commit

Permalink
Fix bug in deleting multiple members from a story distribution list
Browse files Browse the repository at this point in the history
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
  • Loading branch information
automated-signal and trevor-signal committed Nov 22, 2023
1 parent de0760f commit 2b05568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/sql/Server.ts
Expand Up @@ -5499,7 +5499,7 @@ function modifyStoryDistributionMembersSync(
db,
toRemove,
(serviceIds: ReadonlyArray<ServiceIdString>) => {
const serviceIdSet = sqlJoin(serviceIds, '?');
const serviceIdSet = sqlJoin(serviceIds, ',');
const [sqlQuery, sqlParams] = sql`
DELETE FROM storyDistributionMembers
WHERE listId = ${listId} AND serviceId IN (${serviceIdSet});
Expand Down

0 comments on commit 2b05568

Please sign in to comment.