Skip to content

Commit 911fe34

Browse files
committed
support "taas" platform
1 parent f17891f commit 911fe34

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/services/NotificationService.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,16 @@ function* listNotifications(query, userId) {
200200
case 'connect':
201201
filter.where.type = { $like: 'connect.notification.%' };
202202
break;
203+
case 'taas':
204+
filter.where.type = { $like: 'taas.notification.%' };
205+
break;
203206
case 'community':
204-
filter.where.type = { $notLike: 'connect.notification.%' };
207+
filter.where.type = {
208+
$and: [
209+
{ $notLike: 'connect.notification.%' },
210+
{ $notLike: 'taas.notification.%' },
211+
],
212+
};
205213
break;
206214
}
207215

0 commit comments

Comments
 (0)