Add Native Sharing REST API (#1150)
* Initial draft - UNTESTED * changes to Save() and Update() * apply col filter and limit nanoid * remove columns to not update
This commit is contained in:
+2
-1
@@ -31,7 +31,8 @@ func CreateServer(musicFolder string) *server.Server {
|
||||
func CreateAppRouter() *app.Router {
|
||||
dataStore := persistence.New()
|
||||
broker := GetBroker()
|
||||
router := app.New(dataStore, broker)
|
||||
share := core.NewShare(dataStore)
|
||||
router := app.New(dataStore, broker, share)
|
||||
return router
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user