Readjustment for linting
This commit is contained in:
@@ -52,7 +52,7 @@ export function btoa(str: string): string {
|
||||
}
|
||||
|
||||
export function linkvertise(userid: number, link: string): string {
|
||||
let base_url = `https://link-to.net/${userid}/${Math.floor(Math.random() * 1000)}/dynamic`;
|
||||
let href = `${base_url}?r=${btoa(encodeURI(link))}`;
|
||||
const base_url = `https://link-to.net/${userid}/${Math.floor(Math.random() * 1000)}/dynamic`;
|
||||
const href = `${base_url}?r=${btoa(encodeURI(link))}`;
|
||||
return href;
|
||||
}
|
||||
Reference in New Issue
Block a user