Skip to content

Commit

Permalink
remove user_id from tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
alexTayanovsky committed Jan 23, 2022
1 parent c7a91f4 commit ac93e1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/vk.ts
Expand Up @@ -35,7 +35,8 @@ export default function VK<
},
}
)
return { tokens: response }
const { user_id, ...tokens } = response
return { tokens }
},
},
userinfo: `https://api.vk.com/method/users.get?fields=photo_100&v=${apiVersion}`,
Expand Down

0 comments on commit ac93e1e

Please sign in to comment.