mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-07-30 09:48:47 -04:00
Fix redundant parentheses in is_banned_from_posting condition
This commit is contained in:
@@ -112,7 +112,7 @@ export const createUserAndProfile: APIHandler<'create-user-and-profile'> = async
|
||||
avatar_url: avatarUrl,
|
||||
is_banned_from_posting: Boolean(
|
||||
(deviceToken && bannedDeviceTokens.includes(deviceToken)) ||
|
||||
(ip && bannedIpAddresses.includes(ip)),
|
||||
(ip && bannedIpAddresses.includes(ip)),
|
||||
),
|
||||
data: {},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user