mirror of
https://github.com/pinry/pinry.git
synced 2025-11-17 10:20:39 +01:00
Feature: Add Board delete function
This commit is contained in:
committed by
Isaac Bythewood
parent
54487787f5
commit
e455821ac6
@@ -34,6 +34,10 @@ const Board = {
|
||||
{ pins_to_add: pinIds },
|
||||
);
|
||||
},
|
||||
delete(boardId) {
|
||||
const url = `${API_PREFIX}boards/${boardId}/`;
|
||||
return axios.delete(url);
|
||||
},
|
||||
};
|
||||
|
||||
const Pin = {
|
||||
|
||||
Reference in New Issue
Block a user