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": case "friendsList":
data = await fetchWithTimeout(() => API.Me.friendsList()); data = await fetchWithTimeout(() => API.Me.friendsList());
break; break;
case "settings": // case "settings":
data = await fetchWithTimeout(() => // data = await fetchWithTimeout(() =>
API.Me.settings(username, platform) // API.Me.settings(username, platform)
); // );
break; // break;
default: default:
return res.status(200).json({ return res.status(200).json({
status: "error", status: "error",

View File

@ -42,7 +42,7 @@
<p class="small-text"> <p class="small-text">
The #1 open-source Call of Duty Statistic Tracker since cod.tracker.gg shutdown! The #1 open-source Call of Duty Statistic Tracker since cod.tracker.gg shutdown!
<br> <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> </p>
</div> </div>
@ -307,7 +307,7 @@
<option value="friendFeed">Friend Feed (Logged In User Only)</option> <option value="friendFeed">Friend Feed (Logged In User Only)</option>
<option value="identities">Identities (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="friendsList">Friends List (Logged In User Only)</option>
<option value="settings">Settings</option> <!-- <option value="settings">Settings</option> -->
</select> </select>
</div> </div>