Update UpdateDownloadCards.kt

This commit is contained in:
Shabinder Singh 2021-06-10 12:43:10 +05:30 committed by GitHub
parent 4aa0a4ea08
commit aa1acfa283
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ internal suspend fun updateDownloadCards(
}
// Add Matomo Downloads
client.get<MatomoDownloads>("https://kind-grasshopper-73.telebit.io/matomo/?module=API&method=Actions.getDownloads&idSite=1&period=year&date=today&format=JSON&token_auth=anonymous").forEach {
client.get<MatomoDownloads>("https://spotiflyer.ml/matomo/?module=API&method=Actions.getDownloads&idSite=1&period=year&date=today&format=JSON&token_auth=anonymous").forEach {
totalDownloads += it.nb_hits
}
@ -211,4 +211,4 @@ val downloadCardCSS =
#date:hover {
color: #9B9B9B;
}
""".trimIndent()
""".trimIndent()