More bugfixes

This commit is contained in:
Jesse Wierzbinski 2024-04-07 03:03:33 -10:00
parent a6bec1efa7
commit 0c720956a1
No known key found for this signature in database
8 changed files with 147 additions and 155 deletions

View file

@ -11,8 +11,7 @@ import { getUrl } from "~database/entities/Attachment";
import { parseEmojis } from "~database/entities/Emoji";
import { userToAPI } from "~database/entities/User";
import { userRelations } from "~database/entities/relations";
import { LocalMediaBackend } from "~packages/media-manager/backends/local";
import { S3MediaBackend } from "~packages/media-manager/backends/s3";
import { S3MediaBackend, LocalMediaBackend } from "media-manager";
import type { APISource } from "~types/entities/source";
export const meta = applyConfig({

View file

@ -6,8 +6,7 @@ import { MediaBackendType } from "media-manager";
import sharp from "sharp";
import { client } from "~database/datasource";
import { attachmentToAPI, getUrl } from "~database/entities/Attachment";
import { LocalMediaBackend } from "~packages/media-manager/backends/local";
import { S3MediaBackend } from "~packages/media-manager/backends/s3";
import { LocalMediaBackend, S3MediaBackend } from "~packages/media-manager";
export const meta = applyConfig({
allowedMethods: ["POST"],