From eed9266ecbc26282dcc349eaacaa49d8d3a812e1 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 22 May 2019 12:58:53 +0900 Subject: [PATCH] align format --- src/server/api/endpoints/users/groups/transfer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/users/groups/transfer.ts b/src/server/api/endpoints/users/groups/transfer.ts index 3baa182ab..ca0ab9ab2 100644 --- a/src/server/api/endpoints/users/groups/transfer.ts +++ b/src/server/api/endpoints/users/groups/transfer.ts @@ -74,7 +74,7 @@ export default define(meta, async (ps, me) => { userId: user.id }); - if (!joining) { + if (joining == null) { throw new ApiError(meta.errors.noSuchGroupMember); }