Skip to content

Commit

Permalink
Merge pull request #640 from fashberg/disableAmbjguOusCharacters
Browse files Browse the repository at this point in the history
Feature: disableAmbjguOusCharacters
  • Loading branch information
poeti8 authored Nov 29, 2022
2 parents 05197b8 + 55fa84c commit d5debac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/__v1/controllers/linkController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const dnsLookup = promisify(dns.lookup);

const generateId = async () => {
const address = generate(
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
"abcdefghkmnpqrstuvwxyzABCDEFGHKLMNPQRSTUVWXYZ23456789",
env.LINK_LENGTH
);
const link = await findLink({ address });
Expand Down
2 changes: 1 addition & 1 deletion server/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const signToken = (user: UserJoined) =>

export const generateId = async (domain_id: number = null) => {
const address = generate(
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890",
"abcdefghkmnpqrstuvwxyzABCDEFGHKLMNPQRSTUVWXYZ23456789",
env.LINK_LENGTH
);
const link = await query.link.find({ address, domain_id });
Expand Down

0 comments on commit d5debac

Please sign in to comment.