mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-12-22 20:57:54 +01:00
Update UpdateDownloadCards.kt
This commit is contained in:
parent
4aa0a4ea08
commit
aa1acfa283
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user