aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-02-01 16:38:07 +0100
committerChocobozzz <me@florianbigard.com>2022-02-02 09:20:40 +0100
commitb25fdc73fdf22896093e12c51bb64160c0410879 (patch)
tree0f64c321254d734e0c8e20bae3abd950e92bdb27
parent038e1f3de57ccabd495f6137e73b7e8fc73d30e7 (diff)
downloadPeerTube-b25fdc73fdf22896093e12c51bb64160c0410879.tar.gz
PeerTube-b25fdc73fdf22896093e12c51bb64160c0410879.tar.zst
PeerTube-b25fdc73fdf22896093e12c51bb64160c0410879.zip
Add fixme info
-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: