sparcs-kaist / zabo-server-nodejs

Image and Poster Advertising Service @ KAIST
https://zabo.sparcs.org
9 stars 3 forks source link

[Bug] /zabo router handler 등록 순서가 잘못됨 #131

Closed withSang closed 1 year ago

withSang commented 1 year ago

Describe the bug

/zabo router에서 "/" url에 대한 핸들러가 최상위에 등록되어 있어 "/list" API가 호출되지 않는 문제가 발생했습니다.

To Reproduce

  1. GET /zabo/list API 호출
  2. GET /zabo/:id API가 호출됨, "list"라는 objectID는 없으므로 400 bad request (invalid zaboId)가 반환됨

Screenshots

If applicable, add screenshots to help explain your problem.

withSang commented 1 year ago

메인에 바로 머지해 해결했습니다........