Skip to content

fix: 로그인하지 않은 유저가 요청한 상황에서는 모델 create / updateNone으로 처리하도록 수정#20

Merged
earthyoung merged 1 commit intomainfrom
fix/get-current-user-should-not-return-annonymoususer
Jun 5, 2025
Merged

fix: 로그인하지 않은 유저가 요청한 상황에서는 모델 create / updateNone으로 처리하도록 수정#20
earthyoung merged 1 commit intomainfrom
fix/get-current-user-should-not-return-annonymoususer

Conversation

@MU-Software
Copy link
Member

@MU-Software MU-Software commented Jun 3, 2025

주요 변경 사항

  • 로그인하지 않은 유저가 요청할 시, get_current_userAnnonymousUser를 반환하고 있었습니다.
    그러나 이 상황에서 모델을 생성 / 수정 / 삭제할 시 모델의 created_by / updated_by / deleted_byUserExt만을 받으므로, 오류가 발생합니다.
    이를 해결합니다.

Copy link
Contributor

@earthyoung earthyoung left a comment

Choose a reason for hiding this comment

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

LGTM입니다!

@earthyoung earthyoung merged commit e63ac69 into main Jun 5, 2025
1 check passed
@earthyoung earthyoung deleted the fix/get-current-user-should-not-return-annonymoususer branch June 5, 2025 11:09
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