Update the URL to the lookup API.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const fetch = require('node-fetch');
|
||||
|
||||
async function getUserData(userId) {
|
||||
const url = `https://dlookup-nahokey.vercel.app/v1/user/${userId}`;
|
||||
const url = `https://dlookup.nodejs.lol/api/user/${userId}`;
|
||||
const response = await fetch(url);
|
||||
const userData = await response.json();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user