Skip to content

Commit

Permalink
fix: updated repository url in AppUpdateService
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianEstrada committed Apr 20, 2024
1 parent 35da373 commit 669b3d9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import kotlin.system.exitProcess
class AppUpdateService {

companion object {
private const val BASE_URL = "https://api.github.com/repos/monta-app/tool-ocpp-emulator"
private const val BASE_URL = "https://api.github.com/repos/monta-app/ocpp-emulator"
}

private val logger = KotlinLogging.logger {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,37 @@ import java.time.OffsetDateTime

data class GithubRelease(
@JsonProperty("url")
val url: String, // https://api.github.com/repos/monta-app/tool-ocpp-emulator/releases/89118842
val url: String,
@JsonProperty("assets_url")
val assetsUrl: String, // https://api.github.com/repos/monta-app/tool-ocpp-emulator/releases/89118842/assets
val assetsUrl: String,
@JsonProperty("upload_url")
val uploadUrl: String, // https://uploads.github.com/repos/monta-app/tool-ocpp-emulator/releases/89118842/assets{?name,label}
val uploadUrl: String,
@JsonProperty("html_url")
val htmlUrl: String, // https://github.com/monta-app/tool-ocpp-emulator/releases/tag/v1.1.4
val htmlUrl: String,
@JsonProperty("id")
val id: Int, // 89118842
val id: Int,
@JsonProperty("node_id")
val nodeId: String, // RE_kwDOIrJZFs4FT9h6
val nodeId: String,
@JsonProperty("tag_name")
val tagName: String, // v1.1.4
val tagName: String,
@JsonProperty("target_commitish")
val targetCommitish: String, // develop
val targetCommitish: String,
@JsonProperty("name")
val name: String,
@JsonProperty("draft")
val draft: Boolean, // false
val draft: Boolean,
@JsonProperty("prerelease")
val prerelease: Boolean, // false
val prerelease: Boolean,
@JsonProperty("created_at")
val createdAt: OffsetDateTime, // 2023-01-16T12:05:01Z
val createdAt: OffsetDateTime,
@JsonProperty("published_at")
val publishedAt: OffsetDateTime, // 2023-01-16T12:07:59Z
val publishedAt: OffsetDateTime,
@JsonProperty("assets")
val assets: List<GithubAsset>,
@JsonProperty("tarball_url")
val tarballUrl: String, // https://api.github.com/repos/monta-app/tool-ocpp-emulator/tarball/v1.1.4
val tarballUrl: String,
@JsonProperty("zipball_url")
val zipballUrl: String, // https://api.github.com/repos/monta-app/tool-ocpp-emulator/zipball/v1.1.4
val zipballUrl: String,
@JsonProperty("body")
val body: String // ### 🚀 Feature- added security event support- security profile 1 support- include Current.Import in MeterValues### 🐛 Fix- measurand string### 🧹 Chore- bumped version to 1.1.4- applied linter- UI tweaks
val body: String
)

0 comments on commit 669b3d9

Please sign in to comment.