Skip to content

Commit 77dc53d

Browse files
committed
Fix redundant parentheses in is_banned_from_posting condition
1 parent 8bf0ec0 commit 77dc53d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/api/src/create-user-and-profile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const createUserAndProfile: APIHandler<'create-user-and-profile'> = async
112112
avatar_url: avatarUrl,
113113
is_banned_from_posting: Boolean(
114114
(deviceToken && bannedDeviceTokens.includes(deviceToken)) ||
115-
(ip && bannedIpAddresses.includes(ip)),
115+
(ip && bannedIpAddresses.includes(ip)),
116116
),
117117
data: {},
118118
})

0 commit comments

Comments
 (0)