Skip to content

Commit

Permalink
Fix code quality errs
Browse files Browse the repository at this point in the history
  • Loading branch information
Twixes committed Feb 2, 2021
1 parent 380c1bb commit e0772be
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import React, { useEffect } from 'react'
import { userLogic } from 'scenes/userLogic'
import { PlusOutlined } from '@ant-design/icons'
import './BulkInviteModal.scss'
import { capitalizeFirstLetter, isEmail } from 'lib/utils'
import { isEmail } from 'lib/utils'
import { bulkInviteLogic } from './bulkInviteLogic'

const PLACEHOLDER_NAMES = ['Jane', 'John']
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
"typegen:write": "kea-typegen write",
"typegen:check": "kea-typegen check",
"typegen:watch": "kea-typegen watch",
"format-python": "black . && isort ."
"format:python": "black . && isort .",
"format:js": "yarn prettier && yarn eslint --fix",
"format": "yarn format:python && yarn format:js"
},
"dependencies": {
"@babel/core": "^7.10.4",
Expand Down
5 changes: 4 additions & 1 deletion posthog/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ def api_not_found(request):
r"members", organization_member.OrganizationMemberViewSet, "organization_members", ["organization_id"],
)
organizations_router.register(
r"invites\/bulk", organization_invite.OrganizationInviteBulkViewSet, "organization_invites_bulk", ["organization_id"],
r"invites\/bulk",
organization_invite.OrganizationInviteBulkViewSet,
"organization_invites_bulk",
["organization_id"],
)
organizations_router.register(
r"invites", organization_invite.OrganizationInviteViewSet, "organization_invites", ["organization_id"],
Expand Down

0 comments on commit e0772be

Please sign in to comment.