Skip to content

feat: add item requests and gateway module - #5

Closed
Darya346 wants to merge 9 commits into
mainfrom
add-item-requests-and-gateway
Closed

Darya346 wants to merge 9 commits into
mainfrom
add-item-requests-and-gateway

Conversation

@Darya346

Copy link
Copy Markdown
Owner

No description provided.

}

@PatchMapping("/{bookingId}")
public ResponseEntity<Object> approve(@RequestHeader("X-Sharer-User-Id") Long userId,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Хадеры лучше вынести в переменные для избежания дубляжей

}

@GetMapping
public ResponseEntity<Object> getUserRequests(@RequestHeader("X-Sharer-User-Id") Long userId) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тоже самое

@Darya346 Darya346 closed this Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants