1
0
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:
Doug Lauder 2022-12-26 11:53:51 -05:00 committed by GitHub
parent 8585ff04d2
commit 44a79615d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)