mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
update integration names
This commit is contained in:
parent
ffed903bb9
commit
a1a3901ef6
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ FROM omnivore.webhooks;
|
|||
|
||||
-- Migrate exporters to rules
|
||||
INSERT INTO omnivore.rules (user_id, name, filter, actions, enabled, created_at, updated_at, event_types)
|
||||
SELECT user_id, 'export', 'in:all', jsonb_build_array(jsonb_build_object('type', 'EXPORT', 'params', jsonb_build_array(name))), enabled, created_at, updated_at, '{PAGE_CREATED,PAGE_UPDATED,HIGHLIGHT_CREATED,LABEL_CREATED}'
|
||||
SELECT user_id, 'export', 'in:all', jsonb_build_array(jsonb_build_object('type', 'EXPORT', 'params', jsonb_build_array(name))), enabled, created_at, updated_at, '{PAGE_CREATED,PAGE_UPDATED,HIGHLIGHT_CREATED,HIGHLIGHT_UPDATED,LABEL_CREATED}'
|
||||
FROM omnivore.integrations
|
||||
WHERE type = 'EXPORT';
|
||||
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ const CreateActionModal = (props: CreateActionModalProps): JSX.Element => {
|
|||
const { labels } = useGetLabelsQuery()
|
||||
const { integrations } = useGetIntegrationsQuery()
|
||||
|
||||
const integrationOptions = ['Notion', 'Readwise']
|
||||
const integrationOptions = ['NOTION', 'READWISE']
|
||||
|
||||
const isIntegrationEnabled = (integration: string): boolean => {
|
||||
return integrations.some(
|
||||
|
|
|
|||
Loading…
Reference in a new issue