Apply eslint fixes

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-07-31 21:18:00 +02:00
parent 9821d77796
commit fca2e3530f
13 changed files with 19 additions and 19 deletions

View File

@@ -106,7 +106,7 @@ export class CardApi {
}
assignUser(cardId, id, type) {
return axios.post(this.url(`/cards/${cardId}/assign`), { userId: id, type: type })
return axios.post(this.url(`/cards/${cardId}/assign`), { userId: id, type })
.then(
(response) => {
return Promise.resolve(response.data)
@@ -121,7 +121,7 @@ export class CardApi {
}
removeUser(cardId, id, type) {
return axios.put(this.url(`/cards/${cardId}/unassign`), { userId: id, type: type })
return axios.put(this.url(`/cards/${cardId}/unassign`), { userId: id, type })
.then(
(response) => {
return Promise.resolve(response.data)