SpeciesFileGroup/taxonworks

View on GitHub
app/javascript/vue/tasks/extracts/new_extract/store/actions/loadProjectPreferences.js

Summary

Maintainability
A
1 hr
Test Coverage
import { Project } from '@/routes/endpoints'
import { MutationNames } from '../mutations/mutations'

export default ({ commit }) => {
  Project.preferences().then(({ body }) => {
    commit(MutationNames.SetProjectPreferences, body)
  })
}