Skip to content

Commit

Permalink
[Feature/408] 업데이트 API 수정 (#409)
Browse files Browse the repository at this point in the history
* feat: 업데이트 API 수정

* feat: 타입 변경
  • Loading branch information
injoon2019 authored Sep 11, 2024
1 parent 7b62abb commit 10f98f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ class AuthController(
}

@ApiOperation("업데이트 해야하는 앱 버전 조회")
@PostMapping("/app-version")
@GetMapping("/app-version")
fun getUpdateAppVersion(): UpdateAppVersionResponse {
return UpdateAppVersionResponse(

minimumAndroidVersion = 10008L
)
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package com.nexters.bottles.api.auth.facade.dto

data class UpdateAppVersionResponse(
val minimumIosVersion: String? = null, // 이 버전 미만이면 강제 업데이트를 해야합니다
val minimumAndroidVersion: String? = null,
val minimumIosVersion: Long? = null, // 이 버전 미만이면 강제 업데이트를 해야합니다
val minimumAndroidVersion: Long? = null,
val latestAndroidVersion: Long? = null,
) {
}

0 comments on commit 10f98f9

Please sign in to comment.