Commit d6b037c9 authored by Eric Eastwood's avatar Eric Eastwood

Resolve conflicts in board_service

See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3929
parent 36b711fe
...@@ -12,7 +12,6 @@ export default class BoardService { ...@@ -12,7 +12,6 @@ export default class BoardService {
generateBoardsPath(id) { generateBoardsPath(id) {
return `${this.boardsEndpoint}${id ? `/${id}` : ''}.json`; return `${this.boardsEndpoint}${id ? `/${id}` : ''}.json`;
<<<<<<< HEAD
} }
generateIssuesPath(id) { generateIssuesPath(id) {
...@@ -51,16 +50,6 @@ export default class BoardService { ...@@ -51,16 +50,6 @@ export default class BoardService {
deleteBoard({ id }) { deleteBoard({ id }) {
return axios.delete(this.generateBoardsPath(id)); return axios.delete(this.generateBoardsPath(id));
=======
}
generateIssuesPath(id) {
return `${this.listsEndpoint}${id ? `/${id}` : ''}/issues`;
}
static generateIssuePath(boardId, id) {
return `${gon.relative_url_root}/-/boards/${boardId ? `/${boardId}` : ''}/issues${id ? `/${id}` : ''}`;
>>>>>>> upstream/master
} }
all() { all() {
...@@ -129,15 +118,12 @@ export default class BoardService { ...@@ -129,15 +118,12 @@ export default class BoardService {
static getIssueInfo(endpoint) { static getIssueInfo(endpoint) {
return axios.get(endpoint); return axios.get(endpoint);
<<<<<<< HEAD
} }
static updateWeight(endpoint, weight = null) { static updateWeight(endpoint, weight = null) {
return axios.put(endpoint, { return axios.put(endpoint, {
weight, weight,
}); });
=======
>>>>>>> upstream/master
} }
static toggleIssueSubscription(endpoint) { static toggleIssueSubscription(endpoint) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment