chore(federation): ⬆️ Upgrade @lysand-org/federation to 2.1.1

This commit is contained in:
Jesse Wierzbinski 2024-07-16 20:17:18 +02:00
parent da16a5d4c2
commit ba56c98e35
No known key found for this signature in database
3 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ import type { ContentFormat } from "@lysand-org/federation/types";
import { lookup } from "mime-types";
import { config } from "~/packages/config-manager";
export const getBestContentType = (content?: ContentFormat) => {
export const getBestContentType = (content?: ContentFormat | null) => {
if (!content) {
return { content: "", format: "text/plain" };
}