aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/lib/redis.ts1
-rw-r--r--support/doc/api/openapi.yaml4
2 files changed, 3 insertions, 2 deletions
diff --git a/server/lib/redis.ts b/server/lib/redis.ts
index f544274ea..bbe94fe40 100644
--- a/server/lib/redis.ts
+++ b/server/lib/redis.ts
@@ -17,6 +17,7 @@ import {
17} from '../initializers/constants' 17} from '../initializers/constants'
18 18
19// Only used for typings 19// Only used for typings
20// TODO: remove when https://github.com/microsoft/TypeScript/issues/37181 is fixed
20const redisClientWrapperForType = () => createClient<{}>() 21const redisClientWrapperForType = () => createClient<{}>()
21 22
22class Redis { 23class Redis {
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 9e721be4b..396074225 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -1617,7 +1617,7 @@ paths:
1617 '403': 1617 '403':
1618 description: cannot terminate an ownership change of another user 1618 description: cannot terminate an ownership change of another user
1619 '404': 1619 '404':
1620 description: video owneship change not found 1620 description: video ownership change not found
1621 1621
1622 '/videos/ownership/{id}/refuse': 1622 '/videos/ownership/{id}/refuse':
1623 post: 1623 post:
@@ -1634,7 +1634,7 @@ paths:
1634 '403': 1634 '403':
1635 description: cannot terminate an ownership change of another user 1635 description: cannot terminate an ownership change of another user
1636 '404': 1636 '404':
1637 description: video owneship change not found 1637 description: video ownership change not found
1638 1638
1639 '/videos/{id}/give-ownership': 1639 '/videos/{id}/give-ownership':
1640 post: 1640 post: