Skip to content

Commit

Permalink
feat: add warsaw jam
Browse files Browse the repository at this point in the history
  • Loading branch information
geromegrignon committed Jul 20, 2024
1 parent 1d6e47d commit 4335ed4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
26 changes: 26 additions & 0 deletions angular-hub/src/public/assets/data/community.json
Original file line number Diff line number Diff line change
Expand Up @@ -1510,5 +1510,31 @@
"linkedin": null,
"callForPapers": null,
"events": []
},
{
"name": "GDG Warszawa",
"type": "other",
"location": "Warsaw, Poland",
"url": "https://www.linkedin.com/company/gdg-warszawa/",
"mediaChannel": null,
"logo": "assets/logos/official-logo.webp",
"twitter": null,
"linkedin": null,
"callForPapers": null,
"events": [
{
"name": "Angular Warsaw Jam #1",
"type": "conference",
"location": "Warsaw, Poland",
"date": "2024-09-06",
"language": "English",
"isFree": true,
"isRemote": false,
"isOnsite": true,
"callForPapers": "https://docs.google.com/forms/d/e/1FAIpQLSeGYwxyEmE2j82ntJXkPQpUBHWOu3Lf_vndLilP6Y0ofxNwUA/viewform",
"callForPapersDueDate": "2024-08-20",
"url": "https://www.linkedin.com/company/gdg-warszawa/"
}
]
}
]
5 changes: 4 additions & 1 deletion angular-hub/src/server/routes/v1/communities/index.get.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ import { CommunityListSchema } from '../../../schemas/community.schema';
export default defineEventHandler(() => {
try {
parse(CommunityListSchema, communities);
return communities.filter((community) => community.type !== 'workshop');
return communities.filter(
(community) =>
community.type !== 'workshop' && community.type !== 'other',
);
} catch (error) {
throw new Error('Invalid community data format');
}
Expand Down

0 comments on commit 4335ed4

Please sign in to comment.