We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cfcab8 commit abb96d3Copy full SHA for abb96d3
angular-hub/src/server/routes/v1/communities/index.get.ts
@@ -6,7 +6,7 @@ import { CommunityListSchema } from '../../../schemas/community.schema';
6
export default defineEventHandler(() => {
7
try {
8
parse(CommunityListSchema, communities);
9
- return communities;
+ return communities.filter((community) => community.type !== 'workshop');
10
} catch (error) {
11
throw new Error('Invalid community data format');
12
}
0 commit comments