Skip to content

Commit

Permalink
(#433) wasm: update nuar configuration for the routes
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Oct 15, 2024
1 parent 004388d commit 43323e6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions MiniSpace.APIGateway/src/MiniSpace.APIGateway/nuar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,22 @@ modules:
- userId: {userId}
auth: true

- upstream: /requests/{userId}/paginated
method: GET
use: downstream
downstream: friends-service/friends/requests/{userId}/paginated
bind:
- userId: {userId}
auth: true

- upstream: /requests/sent/{userId}/paginated
method: GET
use: downstream
downstream: friends-service/friends/requests/sent/{userId}/paginated
bind:
- userId: {userId}
auth: true

- upstream: /requests/{userId}/accept
method: POST
use: downstream
Expand Down

0 comments on commit 43323e6

Please sign in to comment.