Skip to content

Commit

Permalink
chore: 변경된 api 반영 userType -> role
Browse files Browse the repository at this point in the history
  • Loading branch information
se0jinYoon committed Nov 13, 2024
1 parent e61f1e5 commit ac9abb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/onboarding/hooks/useJoinQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const useJoinQuery = () => {
const mutation = useMutation({
mutationFn: (requestBody: JoinPropType) => joinAxios(requestBody),
onSuccess: (data) => {
setRole(data.data.data.userType);
setRole(data.data.data.role);
},
onError: (error) => {
console.log('🔴 join patch Error: ', error);
Expand Down

0 comments on commit ac9abb6

Please sign in to comment.