Skip to content

Commit

Permalink
Fix: 회원가입시 지급되는 캐시의 타입변경
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanJcoding authored Jul 10, 2024
1 parent c2bee5e commit 5f0e475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/firebase/firebase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export async function getUserArticle(uid: string) {
export async function userInitData(uid: string) {
const ref = doc(db, 'user', uid);
const snapshot = await getDoc(ref);
await setDoc(ref, { cash: '1000000', isActive: true, cartItems: [] });
await setDoc(ref, { cash: 1000000, isActive: true, cartItems: [] });

return snapshot.data();
}
Expand Down

0 comments on commit 5f0e475

Please sign in to comment.