Skip to content

Commit

Permalink
Merge pull request #305 from TeamBeMyPlan/fix/304
Browse files Browse the repository at this point in the history
[fix] #304 작성자 userId 처리 로직 구현
  • Loading branch information
hansh0101 authored Jun 20, 2022
2 parents 4b8307f + a6cdbd9 commit bfdd9b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ interface UserPlanListService {
@GET("v1/plans")
suspend fun fetchUserPlanList(
@Query("size") size: Int,
@Query("sort") sort: String,
@Query("sort", encoded = true) sort: String,
@Query("userId") userId: Int
): ResponseUserPlanList

@GET("v1/plans")
suspend fun fetchMoreUserPlanList(
@Query("size") size: Int,
@Query("sort") sort: String,
@Query("sort", encoded = true) sort: String,
@Query("userId") userId: Int,
@Query("lastPlanId") lastPlanId: Int
): ResponseUserPlanList
Expand Down
14 changes: 0 additions & 14 deletions app/src/main/java/co/kr/bemyplan/data/api/WithdrawService.kt

This file was deleted.

2 changes: 1 addition & 1 deletion app/src/main/java/co/kr/bemyplan/ui/list/ListActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ListActivity : AppCompatActivity() {
private fun initView() {
from = intent.getStringExtra("from") ?: ""
region = intent.getStringExtra("region") ?: ""
authorUserId = intent.getIntExtra("userId", -1)
authorUserId = intent.getIntExtra("authorUserId", -1)
locationName = intent.getStringExtra("locationName") ?: ""
authorNickname = intent.getStringExtra("authorNickname") ?: ""
viewModel.from = from
Expand Down

0 comments on commit bfdd9b5

Please sign in to comment.