wo ist denn hier das wohnzimmer
This commit is contained in:
parent
d773c8537d
commit
4b7d5d9fb0
@ -67,9 +67,9 @@ class Platinum : JavaPlugin() {
|
|||||||
if (version.contains("SNAPSHOT")) {
|
if (version.contains("SNAPSHOT")) {
|
||||||
logger.info("Getting remote Git Commit...")
|
logger.info("Getting remote Git Commit...")
|
||||||
runBlocking {
|
runBlocking {
|
||||||
val res = webClient.get("https://git.jansel.moe/api/v1/") {
|
val res = webClient.get("https://git.jansel.moe/") {
|
||||||
url {
|
url {
|
||||||
path("repos/jreimers/platinum/commits?limit=1")
|
path("/api/v1/repos/jreimers/platinum/commits?limit=1")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val apires: List<CommitApiResponse> = res.body()
|
val apires: List<CommitApiResponse> = res.body()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user