Skip to content

Commit 0d44dfd

Browse files
committed
[chore] #257 url 변경
1 parent ae610ac commit 0d44dfd

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/src/main/java/org/sopt/pingle/data/interceptor/AuthInterceptor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class AuthInterceptor @Inject constructor(
3131
CODE_TOKEN_EXPIRE -> {
3232
response.close()
3333
val refreshTokenRequest = originalRequest.newBuilder().get()
34-
.url("${BuildConfig.BASE_URL}/v1/auth/reissue")
34+
.url("${BuildConfig.BASE_URL}v1/auth/reissue")
3535
.post("".toRequestBody(null))
3636
.addHeader(AUTHORIZATION, localStorage.refreshToken)
3737
.build()

app/src/main/java/org/sopt/pingle/data/service/AuthService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import retrofit2.http.POST
1414
interface AuthService {
1515
@POST("$VERSION/$AUTH/$LOGIN")
1616
suspend fun postLogin(
17-
@Header("$X_PROVIDER_TOKEN") header: String,
17+
@Header(X_PROVIDER_TOKEN) header: String,
1818
@Body body: RequestAuthDto
1919
): BaseResponse<ResponseAuthDto>
2020

app/src/main/java/org/sopt/pingle/data/service/MapService.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ import retrofit2.http.Query
1010
interface MapService {
1111
@GET("$VERSION/$TEAMS/{$TEAM_ID}/$PINS")
1212
suspend fun getPinListWithoutFiltering(
13-
@Path("$TEAM_ID") teamId: Long,
13+
@Path(TEAM_ID) teamId: Long,
1414
@Query(CATEGORY) category: String?,
1515
@Query(SEARCH_WORD) searchWord: String?
1616
): BaseResponse<List<ResponsePinDto>>
1717

1818
@GET("$VERSION/$TEAMS/{$TEAM_ID}/$PINS/{$PIN_ID}/$MEETINGS")
1919
suspend fun getMapPingleList(
20-
@Path("$TEAM_ID") teamId: Long,
21-
@Path("$PIN_ID") pinId: Long,
20+
@Path(TEAM_ID) teamId: Long,
21+
@Path(PIN_ID) pinId: Long,
2222
@Query(CATEGORY) category: String?
2323
): BaseResponse<List<ResponsePingleDto>>
2424

0 commit comments

Comments
 (0)