elixirschool / admissions

Admissions is the gateway to Elixir School's private Slack
https://admissions.elixirschool.com
Apache License 2.0
20 stars 3 forks source link

Correct pattern matching #16

Closed doomspork closed 5 years ago

doomspork commented 5 years ago

Contrary to the documentation the result is actually a list:

client
|> Tentacat.Repositories.Contributors.list("elixirschool", "elixirschool") 
|> Enum.map(&Map.get(&1, "login"))
["doomspork", "nscyclone", "brain-geek", "Koziolek", "gemantzu",
 "eksperimental", "pragmaticivan", "riseshia", "fabon-f", "marocchino",
 "thiamsantos", "gavlak", "michalvalasek", "rezaprima", "3100", "pjhampton",
 "SophieDeBenedetto", "devleoper", "zillou", "erickgnavar", "cizixs",
 "rafalbig", "kenspirit", "milmazz", "joneslee85", "andreapavoni",
 "code-shoily", "Dalgona", "dabielf", "anderkonzen", "malkoG", "crabonature",
 "yasinyaman", "ybur-yug", "scouten", "jinyeow", "julienXX", "Devalo",
 "Tsuyoshi84", "burden", "lithiumpie", "iguchi1124", "edwinallenz", "kalarani",
 "aquarhead", "psantos10", "ybod", "yyyc514", "kdebowski", "kianmeng", ...]
doomspork commented 5 years ago

@Tsuyoshi84 I discovered why you have been unable to join! This should do the trick. 🎉

I deployed the change already and @airforcefalco tested that it worked!

Tsuyoshi84 commented 5 years ago

@doomspork Excellent! Thank you for the investigation!