Skip to content

Commit

Permalink
cxvd
Browse files Browse the repository at this point in the history
  • Loading branch information
undeadjess committed Oct 24, 2024
1 parent 6294a8a commit f3ea4c7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions api/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,6 @@ function getServerURL(server, version, build) {
// get just of all versions to display after latest - dont need to sort by build
queryGetAllVersions = `
SELECT DISTINCT version FROM ${server}
ORDER BY CAST(SUBSTRING_INDEX(version, '.', 1) AS UNSIGNED) DESC,
CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(version, '.', -2), '.', 1) AS UNSIGNED) DESC,
CAST(SUBSTRING_INDEX(version, '.', -1) AS UNSIGNED) DESC
`;
params = [];
}
Expand Down
1 change: 0 additions & 1 deletion fetcher/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@ async function updateDatabase() {

// check that there wernt any problems
if (paperQueries.length > 0) {
console.log(paperQueries);
await connection.query('INSERT INTO paper (version, build, download_url) VALUES ? ON DUPLICATE KEY UPDATE download_url = VALUES(download_url)', [paperQueries]);
}

Expand Down

0 comments on commit f3ea4c7

Please sign in to comment.