Skip to content

Commit

Permalink
refactor: FriendService 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
SYAAINN committed May 18, 2024
1 parent 5d1d934 commit dc30072
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class HomeViewModel : ViewModel() {
val friendProfiles = responseFriendsInfoDto?.data?.map { friendData ->
HomeData.FriendProfile(
friendData.avatar,
"${friendData.firstName}+${ friendData.lastName}",
"${friendData.firstName} ${ friendData.lastName}",
friendData.email
)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/sopt/now/service/FriendService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import retrofit2.http.GET
import retrofit2.http.Query

interface FriendService {
@GET("users")
@GET("/api/users")
fun getFriendsInfo(
@Query("page") page: Int,
): Call<ResponseFriendsInfoDto>
Expand Down

0 comments on commit dc30072

Please sign in to comment.