Skip to content

Merge add-friends-likes#2

Merged
zephyr0021 merged 12 commits intomainfrom
add-friends-likes
Apr 3, 2025
Merged

Merge add-friends-likes#2
zephyr0021 merged 12 commits intomainfrom
add-friends-likes

Conversation

@zephyr0021
Copy link
Owner

Выполнил ТЗ 11 спринта

}

@PutMapping("/{id}/friends/{friendId}")
public SuccessResponse addFriend(@PathVariable Long id, @PathVariable Long friendId) {
Copy link

Choose a reason for hiding this comment

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

В целом, в контроллерах такого вида можно ничего не возвращать – void
отсутствие исключений может быть равно успешному вызову

@zephyr0021 zephyr0021 merged commit 588f16d into main Apr 3, 2025
2 checks passed
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