9 lines
146 B
JavaScript
9 lines
146 B
JavaScript
export default async function({ g, name }) {
|
|
const { store } = this.context
|
|
|
|
await this.callApi('/api/setGameName', {
|
|
g,
|
|
name,
|
|
})
|
|
}
|