Skip to content

Commit

Permalink
comment: 주문내역 조회 조건 description 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
TaeyeonRoyce committed May 17, 2024
1 parent bac405f commit 77d2877
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ data class OrderReadRequest(
val limit: Int = PAGING_LIMIT_CEILING,

@Schema(
description = "마지막으로 조회한 주문 번호. 없을 경우 null",
description = "마지막으로 조회한 주문 번호. 없을 경우 EMPTY",
example = "20210901000001"
)
val lastViewedOrderNumber: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,11 @@ fun requestReadOrders(
return Given {
log().all()
auth().preemptive().oauth2(accessToken)
.queryParams("lastViewedId", request.lastViewedId)
.queryParams("limit", request.limit)
.queryParams("lastViewedOrderNumber", request.lastViewedOrderNumber)
.params(
"lastViewedId", request.lastViewedId,
"limit", request.limit,
"lastViewedOrderNumber", request.lastViewedOrderNumber,
)
} When {
get("/orders")
} Then {
Expand Down

0 comments on commit 77d2877

Please sign in to comment.