From b25fdc73fdf22896093e12c51bb64160c0410879 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 1 Feb 2022 16:38:07 +0100 Subject: [PATCH] Add fixme info --- server/lib/redis.ts | 1 + support/doc/api/openapi.yaml | 4 ++-- 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 { } from '../initializers/constants' // Only used for typings +// TODO: remove when https://github.com/microsoft/TypeScript/issues/37181 is fixed const redisClientWrapperForType = () => createClient<{}>() class 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: '403': description: cannot terminate an ownership change of another user '404': - description: video owneship change not found + description: video ownership change not found '/videos/ownership/{id}/refuse': post: @@ -1634,7 +1634,7 @@ paths: '403': description: cannot terminate an ownership change of another user '404': - description: video owneship change not found + description: video ownership change not found '/videos/{id}/give-ownership': post: