Skip to content

Commit

Permalink
Missed a "var"
Browse files Browse the repository at this point in the history
  • Loading branch information
DEVTomatoCake committed Jul 3, 2024
1 parent ad3e70f commit 62f0436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const getSbOpenAPI = async () => {
const compare = (discord: string[], spacebar: string[]) => {
const missing = [];

for (var route of discord) {
for (const route of discord) {
const regex = route.replaceAll("/", "\\/").replaceAll(":id", "{.*}");

const found = spacebar.find((x) => x.match(regex));
Expand Down

0 comments on commit 62f0436

Please sign in to comment.