Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #132 from AvinashGupta/master
Browse files Browse the repository at this point in the history
Login error #130 fixed
  • Loading branch information
icebob committed Jan 10, 2019
2 parents c4ba30b + 13f80c4 commit 4463dfc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/app/modules/devices/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import toastr from "../../../core/toastr";
import { LOAD, ADD, SELECT, CLEAR_SELECT, UPDATE, REMOVE } from "./types";
import axios from "axios";

export const NAMESPACE = "/api/devices";
const NAMESPACE = "/api/devices";

export const selectRow = ({ commit }, row, multiSelect) => {
commit(SELECT, row, multiSelect);
Expand Down
2 changes: 1 addition & 1 deletion client/app/modules/posts/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Service from "../../../core/service";
import { LOAD, LOAD_MORE, ADD, UPDATE, VOTE, UNVOTE, REMOVE,
NO_MORE_ITEMS, FETCHING, CHANGE_SORT, CHANGE_VIEWMODE } from "./types";

export const NAMESPACE = "/api/posts";
const NAMESPACE = "/api/posts";

let service = new Service("posts");

Expand Down
2 changes: 1 addition & 1 deletion client/app/modules/profile/store/actions.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Vue from "vue";
import toastr from "../../../core/toastr";

export const NAMESPACE = "/api/profile";
const NAMESPACE = "/api/profile";

import Service from "../../../core/service";
let service = new Service("profile");
Expand Down
2 changes: 1 addition & 1 deletion client/app/modules/session/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Vue from "vue";
import axios from "axios";
import { ADD_MESSAGE, ADD_NOTIFICATION, SET_USER, SEARCH } from "./types";

export const NAMESPACE= "/api/session";
const NAMESPACE= "/api/session";

export const getSessionUser = ({ commit }) => {
axios.get(NAMESPACE + "/me").then((response) => {
Expand Down

0 comments on commit 4463dfc

Please sign in to comment.