diff --git a/sdk/src/main/kotlin/io/github/wulkanowy/sdk/Sdk.kt b/sdk/src/main/kotlin/io/github/wulkanowy/sdk/Sdk.kt index 9083207e..e280cb36 100644 --- a/sdk/src/main/kotlin/io/github/wulkanowy/sdk/Sdk.kt +++ b/sdk/src/main/kotlin/io/github/wulkanowy/sdk/Sdk.kt @@ -193,7 +193,7 @@ class Sdk { fun getStudentsHybrid(email: String, password: String, scrapperBaseUrl: String, startSymbol: String = "Default", apiKey: String = ""): Single> { return getStudentsFromScrapper(email, password, scrapperBaseUrl, startSymbol) .compose(ScrapperExceptionTransformer()) - .map { students -> students.distinctBy { it.schoolSymbol } } + .map { students -> students.distinctBy { it.symbol } } .flatMapObservable { Observable.fromIterable(it) } .flatMapSingle { scrapperStudent -> scrapper.let {