Add no trailing whitespace and force eol at end of file. (#3154)

This commit is contained in:
Arthur Cinader
2016-12-01 10:24:46 -08:00
committed by Florent Vilmart
parent 7292fa7f11
commit 11f7712651
22 changed files with 56 additions and 54 deletions

View File

@@ -7,7 +7,7 @@ var Parse = require('parse/node').Parse;
var logger = require('../logger').default;
// Returns a promise that fulfills iff this user id is valid.
function validateAuthData(authData, params) {
function validateAuthData(authData, params) {
return vkOAuth2Request(params).then(function (response) {
if (response && response && response.access_token) {
return request("api.vk.com", "method/secure.checkToken?token=" + authData.access_token + "&client_secret=" + params.appSecret + "&access_token=" + response.access_token).then(function (response) {
@@ -59,4 +59,4 @@ function request(host, path) {
module.exports = {
validateAppId: validateAppId,
validateAuthData: validateAuthData
};
};