Skip to content

Commit

Permalink
fix(webhook): rename webook to webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
d4x1 committed Oct 19, 2023
1 parent c8c2a5a commit 7811419
Show file tree
Hide file tree
Showing 16 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config-ui/src/api/plugin/webhook/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const get = (
id: string;
apiKey: string;
};
}> => connection.get('webook', id) as any;
}> => connection.get('webhook', id) as any;

export const create = (payload: any): Promise<{ id: string; apiKey: { apiKey: string } }> =>
connection.create('webhook', payload) as any;
Expand Down
4 changes: 2 additions & 2 deletions config-ui/src/pages/project/detail/webhooks-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import { Button, Intent } from '@blueprintjs/core';

import API from '@/api';
import { Alert, NoData } from '@/components';
import type { WebhookItemType } from '@/plugins/register/webook';
import { WebhookCreateDialog, WebhookSelectorDialog, WebHookConnection } from '@/plugins/register/webook';
import type { WebhookItemType } from '@/plugins/register/webhook';
import { WebhookCreateDialog, WebhookSelectorDialog, WebHookConnection } from '@/plugins/register/webhook';
import { operator } from '@/utils';

import type { ProjectType } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion config-ui/src/plugins/components/connection-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Table } from '@/components';
import { useConnections } from '@/hooks';
import { ConnectionStatus } from '@/plugins';

import { WebHookConnection } from '@/plugins/register/webook';
import { WebHookConnection } from '@/plugins/register/webhook';

interface Props {
plugin: string;
Expand Down
2 changes: 1 addition & 1 deletion config-ui/src/plugins/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { JiraConfig } from './register/jira';
import { PagerDutyConfig } from './register/pagerduty';
import { SonarQubeConfig } from './register/sonarqube';
import { TAPDConfig } from './register/tapd';
import { WebhookConfig } from './register/webook';
import { WebhookConfig } from './register/webhook';
import { TeambitionConfig } from './register/teambition';
import { ZenTaoConfig } from './register/zentao';

Expand Down

0 comments on commit 7811419

Please sign in to comment.