Skip to content
Snippets Groups Projects
Commit 164cf306 authored by Kasper Seweryn's avatar Kasper Seweryn :pancakes:
Browse files

Fix mutation name

parent 08045c42
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,13 @@ import { store } from '../store'
export interface VuexAPIOptions {
stateKey: 'instanceUrl' | string
mutation: 'instanceUrl' | string
mutation: 'instance/instanceUrl' | string
}
export const createVuexAPI = (vuexPluginOptions: Partial<VuexAPIOptions> = {}): Plugin<any> => (vuexStore) => {
const options: VuexAPIOptions = {
stateKey: 'instanceUrl',
mutation: 'instanceUrl',
mutation: 'instance/instanceUrl',
...vuexPluginOptions
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment