Contact Us link to #contact-us

This commit is contained in:
JilianaTiu 2022-10-23 22:28:15 -07:00
parent b0f569c493
commit 5134b76e1c
2 changed files with 9 additions and 9 deletions

View file

@ -18,7 +18,7 @@ export const ACTIVE_PAGES = [
}, },
{ {
name: "Contact Us", name: "Contact Us",
url: "/contact", url: "/#contact-us",
}, },
]; ];

View file

@ -98,10 +98,10 @@ export default class UserDatabase {
* @param uuid the UUID of the user * @param uuid the UUID of the user
* @returns the user's email * @returns the user's email
*/ */
public async getEmail(uuid: string): Promise<string> { // public async getEmail(uuid: string): Promise<string> {
const user = await User.findOne({ uuid: uuid }).lean().exec(); // const user = await User.findOne({ uuid: uuid }).lean().exec();
return user.email.text; // return user.email.text;
} // }
/** /**
* Updates a user's password * Updates a user's password
@ -120,10 +120,10 @@ export default class UserDatabase {
* @param uuid the UUID of the user * @param uuid the UUID of the user
* @returns the user's password * @returns the user's password
*/ */
public async getPasswordHash(uuid: string): Promise<Buffer> { // public async getPasswordHash(uuid: string): Promise<Buffer> {
const user = await User.findOne({ uuid: uuid }).lean().exec(); // const user = await User.findOne({ uuid: uuid }).lean().exec();
return user.password.hash; // return user.password.hash;
} // }
/** /**
* Updates a member's position * Updates a member's position