mirror of
https://github.com/mattermost/focalboard.git
synced 2025-01-23 18:34:02 +02:00
Add DuplicateBoard to service API (#4400)
* add DuplicateBoard to service API * line too long
This commit is contained in:
parent
8585ff04d2
commit
44a79615d8
@ -75,5 +75,10 @@ func (bs *boardsServiceAPI) HasPermissionToBoard(userID, boardID string, permiss
|
||||
return bs.app.HasPermissionToBoard(userID, boardID, permission)
|
||||
}
|
||||
|
||||
func (bs *boardsServiceAPI) DuplicateBoard(boardID string, userID string,
|
||||
toTeam string, asTemplate bool) (*model.BoardsAndBlocks, []*model.BoardMember, error) {
|
||||
return bs.app.DuplicateBoard(boardID, userID, toTeam, asTemplate)
|
||||
}
|
||||
|
||||
// Ensure boardsServiceAPI implements product.BoardsService interface.
|
||||
var _ product.BoardsService = (*boardsServiceAPI)(nil)
|
||||
|
Loading…
x
Reference in New Issue
Block a user