File "updateIntegration.ts"

Full Path: /var/www/html/gitep_front/src/entities/models/api/updateIntegration.ts
File size: 290 bytes
MIME-type: text/x-java
Charset: utf-8

import {axiosInstance} from "../../../shared";

export const updateIntegration = async (id: any, params: any) => {
  try {
    return axiosInstance.post(`/integrations/update/${id}`, params);
  } catch (error) {
    console.error("updateOrganization error:", error);
    throw error;
  }
};