chore: format

This commit is contained in:
naskya 2023-11-29 04:05:57 +09:00
parent e473dfb10e
commit 7803aa80d0
No known key found for this signature in database
GPG Key ID: 164DFF24E2D40139
25 changed files with 174 additions and 172 deletions

View File

@ -25,7 +25,8 @@ const assets = `${_dirname}/../../server/file/assets/`;
const MAX_BYTE_RANGES = 10;
const commonReadableHandlerGenerator =
(ctx: Koa.Context) => (e: Error): void => {
(ctx: Koa.Context) =>
(e: Error): void => {
serverLogger.error(e);
ctx.status = 500;
ctx.set("Cache-Control", "max-age=300");

View File

@ -175,7 +175,8 @@ export default async (
) =>
// biome-ignore lint/suspicious/noAsyncPromiseExecutor: FIXME
new Promise<Note>(async (res, rej) => {
const dontFederateInitially = data.visibility?.startsWith("hidden") === true;
const dontFederateInitially =
data.visibility?.startsWith("hidden") === true;
// If you reply outside the channel, match the scope of the target.
// TODO (I think it's a process that could be done on the client side, but it's server side for now.)