export default async function({ g, name }) {
  const { store } = this.context

  await this.callApi('/api/setGameName', {
    g,
    name,
  })
}