feat(team): add integrations settings with turntable and gotenberg (#471)

* feat(team): add integrations settings with turntable and gotenberg

* fix(upload): pass teamId to gotenberg availability check during upload preflight
This commit is contained in:
Yiling-J
2026-10-12 15:38:15 +08:00
committed by GitHub
parent 43a2eced75
commit f952318b34
23 changed files with 1615 additions and 155 deletions
+1 -1
View File
@@ -363,7 +363,7 @@ export class UploadService {
const isHtml = isHtmlDocument(asset.mediaType, asset.name)
if (isOffice || isHtml) {
const gotenbergAvailable = await gotenbergService.isAvailable()
const gotenbergAvailable = await gotenbergService.isAvailable(team.id)
if (!gotenbergAvailable) {
await tx.asset.update({
where: { id: asset.id },