knowyt/_client/src/plugins/engine/setGameName.js

9 lines
146 B
JavaScript

export default async function({ g, name }) {
const { store } = this.context
await this.callApi('/api/setGameName', {
g,
name,
})
}