Add endpoint to remove a list background
This commit is contained in:
parent
9d0dcb8d7d
commit
ee436efba3
6 changed files with 195 additions and 20 deletions
|
|
@ -576,6 +576,7 @@ func registerAPIRoutes(a *echo.Group) {
|
|||
// List Backgrounds
|
||||
if config.BackgroundsEnabled.GetBool() {
|
||||
a.GET("/lists/:list/background", backgroundHandler.GetListBackground)
|
||||
a.DELETE("/lists/:list/background", backgroundHandler.RemoveListBackground)
|
||||
if config.BackgroundsUploadEnabled.GetBool() {
|
||||
uploadBackgroundProvider := &backgroundHandler.BackgroundProvider{
|
||||
Provider: func() background.Provider {
|
||||
|
|
|
|||
Reference in a new issue