Clean up bad coding practices
This commit is contained in:
parent
4a1dbfad29
commit
f08e5cd250
|
@ -123,7 +123,7 @@ export async function createNote(
|
||||||
|
|
||||||
// Skip if author is suspended.
|
// Skip if author is suspended.
|
||||||
if (actor.isSuspended) {
|
if (actor.isSuspended) {
|
||||||
logger.debug(`User ${`${actor.usernameLower}@${actor.host}`} suspended; discarding.`)
|
logger.debug(`User ${actor.usernameLower}@${actor.host} suspended; discarding.`)
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue