remove trailing enter from apikey

This commit is contained in:
John McLear 2014-12-27 14:19:31 +01:00
parent 88ab74b1e9
commit 444bbf4cbc
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ var assert = require('assert')
var filePath = path.join(__dirname, '../../../../APIKEY.txt');
var apiKey = fs.readFileSync(filePath, {encoding: 'utf-8'});
apiKey = apiKey.replace(/\n$/, "");
var apiVersion = 1;
var testPadId = makeid();
var lastEdited = "";

View File

@ -7,6 +7,7 @@ var assert = require('assert')
var filePath = path.join(__dirname, '../../../../APIKEY.txt');
var apiKey = fs.readFileSync(filePath, {encoding: 'utf-8'});
apiKey = apiKey.replace(/\n$/, "");
var apiVersion = 1;
var testPadId = makeid();
var groupID = "";