Fixing TwitterUser id detection.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-04-07 13:33:46 -05:00
parent 6a60f4f13f
commit 17b39ec4ad
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
accessing
id
^ id ifNil: [id := (self profileImageUrl segments select: [ :each | each asInteger class = LargePositiveInteger]) first.]
^ id ifNil: [ id := (self profileImageUrl segments detect: [ :each | each isAllDigits ]) ]