import { apiCall } from './apiHelper'

/**
 * Save preferred start page
 * Endpoint: savePreferredStartPage
 * @param {string} startPage - The start page preference
 */
const savePreferredStartPage = async ({ startPage }) => {
  return await apiCall('savePreferredStartPage', 'POST', { startPage })
}

export default savePreferredStartPage


