aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/routers/admin.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/trpc/routers/admin.ts')
-rw-r--r--packages/trpc/routers/admin.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/trpc/routers/admin.ts b/packages/trpc/routers/admin.ts
index 2935f2e8..c4fc9d3d 100644
--- a/packages/trpc/routers/admin.ts
+++ b/packages/trpc/routers/admin.ts
@@ -361,6 +361,10 @@ export const adminAppRouter = router({
updateData.storageQuota = input.storageQuota;
}
+ if (input.browserCrawlingEnabled !== undefined) {
+ updateData.browserCrawlingEnabled = input.browserCrawlingEnabled;
+ }
+
if (Object.keys(updateData).length === 0) {
throw new TRPCError({
code: "BAD_REQUEST",