mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
auth: added backend debugging x3
This commit is contained in:
parent
b882ceab42
commit
1cfcb733e7
1 changed files with 1 additions and 2 deletions
|
@ -1,13 +1,12 @@
|
|||
const { User } = require('../../../models');
|
||||
const axios = require('axios');
|
||||
const { generateUser } = require('../guest');
|
||||
const { STRINGS } = require('../../../config/strings');
|
||||
|
||||
const fetchUserData = async (req, res) => {
|
||||
const { query: { user_id, access_token } } = req;
|
||||
|
||||
const result = await axios.get(
|
||||
'https://api.vk.com/method/users.get',
|
||||
'http://api.vk.com/method/users.get',
|
||||
{
|
||||
params: {
|
||||
user_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue