mirror of
https://github.com/strapi/strapi.git
synced 2025-09-07 23:57:19 +00:00
fix vk providers (#5783)
This commit is contained in:
parent
5235d94dc6
commit
30ba717525
@ -328,8 +328,7 @@ const getProfile = async (provider, query, callback) => {
|
|||||||
|
|
||||||
vk.query()
|
vk.query()
|
||||||
.get('users.get')
|
.get('users.get')
|
||||||
.auth(access_token)
|
.qs({ access_token, id: query.raw.user_id, v: '5.013' })
|
||||||
.qs({ id: query.raw.user_id, v: '5.013' })
|
|
||||||
.request((err, res, body) => {
|
.request((err, res, body) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
callback(err);
|
callback(err);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user