diff --git a/app/src/main/java/com/study/dongamboard/api/Utils.kt b/app/src/main/java/com/study/dongamboard/api/Utils.kt index 29501c2..2188536 100644 --- a/app/src/main/java/com/study/dongamboard/api/Utils.kt +++ b/app/src/main/java/com/study/dongamboard/api/Utils.kt @@ -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") diff --git a/app/src/main/java/com/study/dongamboard/type/UserRole.kt b/app/src/main/java/com/study/dongamboard/type/UserRole.kt index f9a054b..97b7949 100644 --- a/app/src/main/java/com/study/dongamboard/type/UserRole.kt +++ b/app/src/main/java/com/study/dongamboard/type/UserRole.kt @@ -1,6 +1,6 @@ package com.study.dongamboard.type enum class UserRole { - USER, - ADMIN + ROLE_USER, + ROLE_ADMIN } \ No newline at end of file