Skip to content

Commit

Permalink
♻️ refactor: 네이밍 등 피드백 사항 반영 [#46]
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeHyeonSim committed Feb 24, 2024
1 parent 0a4d7cf commit fdbb7e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/com/study/dongamboard/api/Utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Utils(context: Context) {
ResponseStatus.NOT_FOUND.code -> errorMsg = ResponseStatus.NOT_FOUND.message
ResponseStatus.CONFLICT.code -> errorMsg = ResponseStatus.CONFLICT.message
ResponseStatus.INTERNET_SERVER_ERROR.code -> errorMsg = ResponseStatus.INTERNET_SERVER_ERROR.message
else -> errorMsg = "알 수 없는 오류"
else -> errorMsg = statusCode.toString()
}
if (DEBUG) {
Log.e(TAG, "$statusCode $errorMsg")
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/com/study/dongamboard/type/UserRole.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.study.dongamboard.type

enum class UserRole {
USER,
ADMIN
ROLE_USER,
ROLE_ADMIN
}

0 comments on commit fdbb7e4

Please # to comment.