mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-20 08:56:29 +00:00
12 lines
334 B
TypeScript
12 lines
334 B
TypeScript
|
|
import axios from 'api';
|
||
|
|
import { AxiosResponse } from 'axios';
|
||
|
|
import {
|
||
|
|
GetIntegrationPayloadProps,
|
||
|
|
GetIntegrationProps,
|
||
|
|
} from 'types/api/integrations/types';
|
||
|
|
|
||
|
|
export const getIntegration = (
|
||
|
|
props: GetIntegrationPayloadProps,
|
||
|
|
): Promise<AxiosResponse<GetIntegrationProps>> =>
|
||
|
|
axios.get(`/integrations/${props.integrationId}`);
|