fix(project): 프로젝트 저장 안 되는 문제 수정 - #40
Merged
Merged
Conversation
- supabase(anon key) → supabaseAdmin(service role)으로 교체해 RLS 차단 해결 - 모든 메서드에 getUnifiedAuthUser 인증 복구 - POST에 user_id 포함 (서버 세션에서 추출) - GET 쿼리 체이닝 버그 수정 (order/range 재할당) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- 제출 전 projectName/type/status 유효성 검사 추가 - API POST에서 빈 문자열을 enum 컬럼에 전송하지 않도록 수정 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- projects/[id]: getUnifiedAuthUser() 인증 체크 추가 - projectMembers: supabase(anon) → supabaseAdmin 전환 - projectMembers: 주석 처리된 인증 체크 → getUnifiedAuthUser() 적용 - projectMembers: PUT 응답 누락 제거, 사용하지 않는 any 타입 제거 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
...project 스프레드 제거, 각 필드에 ?? "" 적용 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
supabase(anon key) →supabaseAdmin(service role key) 교체로 RLS 우회getUnifiedAuthUser()로 인증 체크 복원user_id: auth.userId추가Test plan
projects테이블에 레코드 확인Closes #39
🤖 Generated with Claude Code