chore: remove broken 'settings' api call

This commit is contained in:
Rim 2025-03-31 00:56:35 -04:00
parent 898420dacf
commit af48a1edea
2 changed files with 7 additions and 7 deletions

10
app.js
View File

@ -776,11 +776,11 @@ app.post("/api/user", async (req, res) => {
case "friendsList":
data = await fetchWithTimeout(() => API.Me.friendsList());
break;
case "settings":
data = await fetchWithTimeout(() =>
API.Me.settings(username, platform)
);
break;
// case "settings":
// data = await fetchWithTimeout(() =>
// API.Me.settings(username, platform)
// );
// break;
default:
return res.status(200).json({
status: "error",

View File

@ -42,7 +42,7 @@
<p class="small-text">
The #1 open-source Call of Duty Statistic Tracker since cod.tracker.gg shutdown!
<br>
New? View some <a href="https://placeholder" target="_blank">examples</a>
New? View some <a href="https://rimmyscorner.com/codtracker-examples" target="_blank">examples</a>
</p>
</div>
@ -307,7 +307,7 @@
<option value="friendFeed">Friend Feed (Logged In User Only)</option>
<option value="identities">Identities (Logged In User Only)</option>
<option value="friendsList">Friends List (Logged In User Only)</option>
<option value="settings">Settings</option>
<!-- <option value="settings">Settings</option> -->
</select>
</div>