Skip to content

Commit

Permalink
(#394) communication: update routes in api gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
SaintAngeLs committed Aug 29, 2024
1 parent fd8b17b commit 5561dfe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MiniSpace.APIGateway/src/MiniSpace.APIGateway/ntrada.yml
Original file line number Diff line number Diff line change
Expand Up @@ -839,18 +839,18 @@ modules:
downstream: friends-service/friends/requests/sent/{userId}
auth: true

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

- upstream: /userId}/following
- upstream: /{userId}/following
method: GET
use: downstream
downstream: friends-service/friends/userId}/following
downstream: friends-service/friends/{userId}/following
auth: true
bind:
- userId: {userId}
Expand Down

0 comments on commit 5561dfe

Please sign in to comment.