From b3156f0e334dc2c3f5fcd7c4203fb5ac5b283be8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E3=81=82=E3=82=8F=E3=82=8F=E3=82=8F=E3=81=A8=E3=83=BC?=
=?UTF-8?q?=E3=81=AB=E3=82=85?=
<17376330+u1-liquid@users.noreply.github.com>
Date: Thu, 7 Nov 2024 19:20:44 +0900
Subject: [PATCH] wip
---
.../server/api/endpoints/watermark/update.ts | 2 +-
.../frontend/src/pages/settings/drive.vue | 32 +++++++++++++++----
2 files changed, 27 insertions(+), 7 deletions(-)
diff --git a/packages/backend/src/server/api/endpoints/watermark/update.ts b/packages/backend/src/server/api/endpoints/watermark/update.ts
index a88318fc7..ca6c4a5ec 100644
--- a/packages/backend/src/server/api/endpoints/watermark/update.ts
+++ b/packages/backend/src/server/api/endpoints/watermark/update.ts
@@ -27,7 +27,7 @@ export const paramDef = {
background: { type: 'string' },
rotate: { type: 'number' },
},
- required: ['fileId'],
+ required: [],
} as const;
// eslint-disable-next-line import/no-default-export
diff --git a/packages/frontend/src/pages/settings/drive.vue b/packages/frontend/src/pages/settings/drive.vue
index 1b8f993b0..9073a3594 100644
--- a/packages/frontend/src/pages/settings/drive.vue
+++ b/packages/frontend/src/pages/settings/drive.vue
@@ -52,12 +52,30 @@ SPDX-License-Identifier: AGPL-3.0-only
-