Skip to content

Commit 807cae0

Browse files
committed
(#424) api gateway: update routes for repost
1 parent d2c5466 commit 807cae0

File tree

1 file changed

+8
-0
lines changed
  • MiniSpace.APIGateway/src/MiniSpace.APIGateway

1 file changed

+8
-0
lines changed

MiniSpace.APIGateway/src/MiniSpace.APIGateway/ntrada.yml

+8
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,14 @@ modules:
960960
downstream: posts-service/posts
961961
auth: true
962962

963+
- upstream: /{originalPostId}/repost
964+
method: POST
965+
use: downstream
966+
downstream: posts-service/posts/{originalPostId}/repost
967+
auth: true
968+
bind:
969+
- originalPostId:{originalPostId}
970+
963971
- upstream: /users/{userId}/feed
964972
method: GET
965973
use: downstream

0 commit comments

Comments
 (0)