import apiInstance from '@api/instance' import { createAsyncThunk } from '@reduxjs/toolkit' export const updateAccountPreferences = createAsyncThunk( 'instances/updateAccountPreferences', async (): Promise => { return apiInstance({ method: 'get', url: `preferences` }).then(res => res.body) } )