Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

Commit

Permalink
fix issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
pikax authored and pikax committed Sep 20, 2017
1 parent e2d4de9 commit 931e157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ const parseUser = ($: CheerioStatic): User => {
level: panelMenus[2],


allyCode: p[0],
joined: p[1],
allyCode: p[1] && p[0],
joined: p[1] || p[0],


guild: aGuild,
Expand Down

0 comments on commit 931e157

Please sign in to comment.