Add default profile functionality

Default profile can be selected in settings.
This commit is contained in:
Harvey Tindall
2020-09-23 18:48:00 +01:00
parent 6b25215768
commit 89e70f6f7a
6 changed files with 70 additions and 16 deletions
+1
View File
@@ -460,6 +460,7 @@ func start(asDaemon, firstCall bool) {
api.GET("/getInvites", app.GetInvites)
api.GET("/getProfiles", app.GetProfiles)
api.POST("/setProfile", app.SetProfile)
api.POST("/setDefaultProfile", app.SetDefaultProfile)
api.POST("/createProfile", app.CreateProfile)
api.POST("/deleteProfile", app.DeleteProfile)
api.POST("/setNotify", app.SetNotify)