diff --git a/build.gradle.kts b/build.gradle.kts index e85c4b7..71e87c4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -34,9 +34,9 @@ fun String.runCommand( group = "org.hyacinthbots.allium" -version = "0.3.1-build.local-" + "git rev-parse --short=8 HEAD".runCommand(workingDir = rootDir) +//version = "0.3.1-build.local-" + "git rev-parse --short=8 HEAD".runCommand(workingDir = rootDir) var buildTime = Date().time / 1000 -//version = "0.3.0" +version = "0.3.1" // The current LTS Java version val javaVersion = 17 diff --git a/readme.md b/readme.md index aa8d5a3..8452964 100644 --- a/readme.md +++ b/readme.md @@ -25,6 +25,7 @@ This Repository is open for contributions of all kinds! Although please make sur - [kotlin logging](https://github.com/MicroUtils/kotlin-logging) - [jansi](https://github.com/fusesource/jansi) - [kotlinx-serialization (Core)](https://github.com/Kotlin/kotlinx.serialization) +- [ktor](https://ktor.io/) ### Statistics ![GitHub](https://img.shields.io/github/license/HyacinthBots/Allium?label=License&style=for-the-badge) ![GitHub repo size](https://img.shields.io/github/repo-size/HyacinthBots/Allium?label=Repository%20Size&style=for-the-badge) diff --git a/src/main/kotlin/org/hyacinthbots/allium/extensions/Modrinth.kt b/src/main/kotlin/org/hyacinthbots/allium/extensions/Modrinth.kt index 86c127c..2298e92 100644 --- a/src/main/kotlin/org/hyacinthbots/allium/extensions/Modrinth.kt +++ b/src/main/kotlin/org/hyacinthbots/allium/extensions/Modrinth.kt @@ -259,7 +259,7 @@ class Modrinth : Extension() { private suspend fun searchModrinthUser(arguments: UserSearchQuery): UserData { return client.get(MODRINTH_ENDPOINT) { url { - path("/v2/user/${arguments.query}") + path("v2/user/${arguments.query}") } }.body() }