Capitalize const values

This commit is contained in:
Matt Gibson 2024-04-25 12:24:02 -04:00
parent 701de74adf
commit 929a209af2
No known key found for this signature in database
GPG Key ID: 963EE038B0581878
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ export const ACCOUNT_ACTIVITY = KeyDefinition.record<Date, UserId>(ACCOUNT_DISK,
deserializer: (activity) => new Date(activity),
});
const loggedOutInfo: AccountInfo = {
const LOGGED_OUT_INFO: AccountInfo = {
email: "",
emailVerified: false,
name: undefined,
@ -113,7 +113,7 @@ export class AccountServiceImplementation implements InternalAccountService {
}
async clean(userId: UserId) {
await this.setAccountInfo(userId, loggedOutInfo);
await this.setAccountInfo(userId, LOGGED_OUT_INFO);
await this.removeAccountActivity(userId);
}