Fix lint
This commit is contained in:
parent
c8fb4478ce
commit
1f6a0471e5
2 changed files with 4 additions and 2 deletions
|
@ -792,7 +792,7 @@ internal val ApiEndpointsVTokenMap = mapOf(
|
||||||
"UczenCache.mvc" to "1BzK3",
|
"UczenCache.mvc" to "1BzK3",
|
||||||
"Homework.mvc" to "bQFjG",
|
"Homework.mvc" to "bQFjG",
|
||||||
"SzkolaINauczyciele.mvc" to "fWw8j4JOE",
|
"SzkolaINauczyciele.mvc" to "fWw8j4JOE",
|
||||||
"Ogloszenia.mvc" to "XKkaYNx"
|
"Ogloszenia.mvc" to "XKkaYNx",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
@ -360,7 +360,9 @@ private fun HttpUrl.getMatchedVHeader(moduleHost: String, domainSchema: String?,
|
||||||
(Scrapper.vTokenMap[headers?.appVersion] ?: ApiEndpointsVTokenMap[headers?.appVersion])
|
(Scrapper.vTokenMap[headers?.appVersion] ?: ApiEndpointsVTokenMap[headers?.appVersion])
|
||||||
?.get(moduleHost)
|
?.get(moduleHost)
|
||||||
?.get("$pathKey/$pathKeySub")
|
?.get("$pathKey/$pathKeySub")
|
||||||
} else mappedSimpleUuid
|
} else {
|
||||||
|
mappedSimpleUuid
|
||||||
|
}
|
||||||
|
|
||||||
return getVToken(
|
return getVToken(
|
||||||
uuid = mappedUuid ?: return null,
|
uuid = mappedUuid ?: return null,
|
||||||
|
|
Loading…
Reference in a new issue