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

8 lines
155 B
JavaScript

export default async function() {
const { store } = this.context
await this.callApi('/api/finishGame', {
g: store.state.engine.user?.game,
})
}