added type

This commit is contained in:
casperlamboo 2016-04-18 09:30:12 +02:00
parent c5839238f1
commit 2445a742b7
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ export function get (url) {
url: url,
dataType: 'json',
timeout: GET_TIMEOUT,
type: 'GET',
success: (response) => {
if (response.status === 'success') {
resolve(response.data, response.msg);