Skip to content

Commit

Permalink
GF-337: Bumping up VK API version
Browse files Browse the repository at this point in the history
  • Loading branch information
levenkov committed Feb 12, 2022
1 parent 169733b commit f4fe10b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/v2/utils/tests/vk.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ describe(
+ 'scope=email%2Cphotos&'
+ `redirect_uri=${locationOrigin}/api/foo/baz/bar&`
+ 'response_type=code&'
+ 'v=5.74&'
+ 'v=5.131&'
+ 'state={"method":"login","token":"foobar"}',
);
},
Expand All @@ -62,7 +62,7 @@ describe(
+ 'scope=email%2Cphotos&'
+ 'redirect_uri=https://foobar.ru/api/foo/baz/bar&'
+ 'response_type=code&'
+ 'v=5.74&'
+ 'v=5.131&'
+ 'state={"method":"login","token":"foobar"}',
);
},
Expand All @@ -83,7 +83,7 @@ describe(
+ 'scope=email%2Cphotos&'
+ 'redirect_uri=http://foobar.ru/api/foo/baz/bar&'
+ 'response_type=code&'
+ 'v=5.74&'
+ 'v=5.131&'
+ 'state={"method":"login","token":"foobar"}',
);
},
Expand Down
2 changes: 1 addition & 1 deletion src/v2/utils/vk.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const params = (type, token, rememberMe) => ({
scope: 'email%2Cphotos',
redirect_uri: redirectUri(),
response_type: 'code',
v: '5.74',
v: '5.131',
state: JSON.stringify({
method: type,
token,
Expand Down

0 comments on commit f4fe10b

Please sign in to comment.