mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 22:09:16 +01:00
More bugfixes
This commit is contained in:
parent
a6bec1efa7
commit
0c720956a1
8 changed files with 147 additions and 155 deletions
|
|
@ -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({
|
||||
|
|
|
|||
|
|
@ -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"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue