chore: lint says const happy

This commit is contained in:
Mar0xy 2023-09-24 17:42:31 +02:00
parent c6c6873984
commit b107ff5a1f
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ export class ApiAccountMastodon {
public async verifyCredentials() {
try {
const data = await this.client.verifyAccountCredentials();
let acct = data.data;
const acct = data.data;
acct.id = convertId(acct.id, IdType.MastodonId);
acct.display_name = acct.display_name || acct.username;
acct.url = `${this.BASE_URL}/@${acct.url}`;