import { apiCall } from './apiHelper'

const activateGlobalKit = async (importedTemplateId) => {
  try {
    const result = await apiCall('activateGlobalKit', 'POST', { importedTemplateId })
    return result
  } catch (err) {
    console.error('Failed to activate global kit:', err)
    throw err
  }
}

export default activateGlobalKit

