File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
app/src/main/java/org/sopt/pingle/data Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff 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()
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import retrofit2.http.POST
1414interface 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
Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ import retrofit2.http.Query
1010interface 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
You can’t perform that action at this time.
0 commit comments