Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[refactor] : login된 유저 조회 api가 email을 함께 반환하도록 수정 #406

Merged
merged 4 commits into from
Mar 17, 2024

Conversation

devxb
Copy link
Member

@devxb devxb commented Mar 8, 2024

No description provided.

@dojinyou dojinyou self-requested a review March 17, 2024 13:19
@@ -58,7 +58,7 @@ void REPLACE_BOOKMARK_SUCCESS_TEST() throws Exception {

// given
Long targetId = targetInitializer.saveTargetAndGetId("target", Instant.now());
String token = "token";
String token = "bearer token";
Copy link
Member

Choose a reason for hiding this comment

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

토큰 만드는 책임을 넘기거나 Authentication Type을 public static 으로 풀면 좋을 것 같음!

String email
) {

public static LoginedInfo from(Long targetId, User user) {
Copy link
Member

Choose a reason for hiding this comment

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

parameter가 복수개라면 of?

Suggested change
public static LoginedInfo from(Long targetId, User user) {
public static LoginedInfo of(Long targetId, User user) {
image

@devxb devxb merged commit 5435c48 into release Mar 17, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants