Skip to content

Commit 3828cca

Browse files
committed
no more modmail repo to ignore in recent commits
1 parent 8347498 commit 3828cca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async def setup_session_dict(request: Request):
2828
async def index(request: Request):
2929
async with request.app.ctx.aiohttp.get('https://api.github.com/users/SharpBit/events/public') as resp:
3030
info = await resp.json()
31-
recent_commits = filter(lambda x: x['repo']['name'] != 'SharpBit/modmail' and x['type'] == 'PushEvent', info)
31+
recent_commits = filter(lambda x: x['type'] == 'PushEvent', info)
3232
return await render_template('index', request, title="Home Page", description='Home Page', recent=recent_commits)
3333

3434
@root.get('/repo/<name>')

0 commit comments

Comments
 (0)