mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-30 21:21:09 -04:00 
			
		
		
		
	Merge pull request #119 from hypnodev/fix-http-mixed-request
Fix http mixed request
This commit is contained in:
		| @ -2,7 +2,7 @@ import * as types from './mutation-types' | ||||
|  | ||||
| export const fetchCategories = ({ commit, dispatch, state }, data) => { | ||||
|   return new Promise((resolve, reject) => { | ||||
|     window.axios.get(`/api/categories/`).then((response) => { | ||||
|     window.axios.get(`/api/categories`).then((response) => { | ||||
|       commit(types.SET_CATEGORIES, response.data) | ||||
|       resolve(response) | ||||
|     }).catch((err) => { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user