이재용

api modified

1 var request = require('request'); 1 var request = require('request');
2 +const result = require('../user/userinfo');
2 var search = {}; 3 var search = {};
3 -var apikey="RGAPI-4ccc267c-4dba-46f4-b705-bdb224f15ac2" 4 +var apikey="RGAPI-b69c36b5-e5c6-4698-af93-4be17fc8a7e4"
4 //사용자 정보 api 5 //사용자 정보 api
5 search.getPuuid = function(name){ 6 search.getPuuid = function(name){
6 return new Promise(function(resolve,reject){ 7 return new Promise(function(resolve,reject){
...@@ -38,4 +39,7 @@ search.getGametrait = function(game_id){ ...@@ -38,4 +39,7 @@ search.getGametrait = function(game_id){
38 }); 39 });
39 }); 40 });
40 }; 41 };
42 +
43 +
44 +
41 module.exports = search; 45 module.exports = search;
...\ No newline at end of file ...\ No newline at end of file
......