Update the URL to the lookup API.

This commit is contained in:
Nahokey
2024-05-09 03:07:59 +00:00
parent caa1efbf4c
commit cc9ebc2976
+1 -1
View File
@@ -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();