File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ const FollowButton: React.FC<PostFollowButtonProps> = ({
83
83
__typename : 'User' ,
84
84
} ,
85
85
} ) ;
86
+ console . log ( 'hello' , variables ) ;
86
87
follow ( { variables } ) ;
87
88
setButtonText ( '팔로잉' ) ;
88
89
}
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ export const CONFIRM_CHANGE_EMAIL = gql`
184
184
` ;
185
185
186
186
export const FOLLOW_USER = gql `
187
- mutation Follow($following_user_id: ID!, $post_id: ID! ) {
187
+ mutation Follow($following_user_id: ID!) {
188
188
follow(following_user_id: $following_user_id) {
189
189
id
190
190
is_followed
@@ -193,7 +193,7 @@ export const FOLLOW_USER = gql`
193
193
` ;
194
194
195
195
export const UNFOLLOW_USER = gql `
196
- mutation Unfollow($following_user_id: ID!, $post_id: ID! ) {
196
+ mutation Unfollow($following_user_id: ID!) {
197
197
unfollow(following_user_id: $following_user_id) {
198
198
id
199
199
is_followed
You can’t perform that action at this time.
0 commit comments