Skip to content

Commit

Permalink
Revert "fix(notification): filter messages by user ID in in-app chann…
Browse files Browse the repository at this point in the history
…els query"

This reverts commit 4b694ee.
  • Loading branch information
sheldon66 committed Dec 23, 2024
1 parent 4b694ee commit 4a9840d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/plugins/@nocobase/plugin-action-template-print
Submodule plugin-action-template-print deleted from d4d305
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export default function defineMyInAppChannels({ app }: { app: Application }) {
SELECT messages.${messagesFieldName.channelName}
FROM ${messagesTableName} AS messages
WHERE messages.${messagesFieldName.status} = '${status}'
AND messages.${messagesFieldName.userId} = ${userId}
)`);
return { name: { [Op.in]: sql } };
};
Expand Down

0 comments on commit 4a9840d

Please sign in to comment.