summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints')
-rw-r--r--src/server/api/endpoints/drive/files.ts2
-rw-r--r--src/server/api/endpoints/drive/stream.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/api/endpoints/drive/files.ts b/src/server/api/endpoints/drive/files.ts
index 493e14464c..d10c2a3ef4 100644
--- a/src/server/api/endpoints/drive/files.ts
+++ b/src/server/api/endpoints/drive/files.ts
@@ -37,7 +37,7 @@ export const meta = {
},
type: {
- validator: $.optional.str.match(/^[a-zA-Z\/\-\*]+$/)
+ validator: $.optional.str.match(/^[a-zA-Z\/\-*]+$/)
}
},
diff --git a/src/server/api/endpoints/drive/stream.ts b/src/server/api/endpoints/drive/stream.ts
index db17979a4b..f75c4273c3 100644
--- a/src/server/api/endpoints/drive/stream.ts
+++ b/src/server/api/endpoints/drive/stream.ts
@@ -27,7 +27,7 @@ export const meta = {
},
type: {
- validator: $.optional.str.match(/^[a-zA-Z\/\-\*]+$/)
+ validator: $.optional.str.match(/^[a-zA-Z\/\-*]+$/)
}
},