mirror of
https://github.com/plankanban/planka.git
synced 2025-07-24 23:59:48 +02:00
Initial commit
This commit is contained in:
commit
5ffef61fe7
613 changed files with 91659 additions and 0 deletions
12
client/src/api/card-labels.js
Normal file
12
client/src/api/card-labels.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import socket from './socket';
|
||||
|
||||
/* Actions */
|
||||
|
||||
const createCardLabel = (cardId, data, headers) => socket.post(`/cards/${cardId}/labels`, data, headers);
|
||||
|
||||
const deleteCardLabel = (cardId, labelId, headers) => socket.delete(`/cards/${cardId}/labels/${labelId}`, undefined, headers);
|
||||
|
||||
export default {
|
||||
createCardLabel,
|
||||
deleteCardLabel,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue