feat: add endpoint and ui to update mbz id (#125)

* wip

* wip

* feat: add endpoint and ui to update mbz id
This commit is contained in:
Gabe Farrell 2026-01-11 01:50:27 -05:00 committed by GitHub
parent 7cf7cd3a10
commit 97cd378535
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 177 additions and 1 deletions

View file

@ -94,6 +94,7 @@ func bindRoutes(
r.Post("/aliases", handlers.CreateAliasHandler(db))
r.Post("/aliases/delete", handlers.DeleteAliasHandler(db))
r.Post("/aliases/primary", handlers.SetPrimaryAliasHandler(db))
r.Patch("/mbzid", handlers.UpdateMbzIdHandler(db))
r.Get("/user/apikeys", handlers.GetApiKeysHandler(db))
r.Post("/user/apikeys", handlers.GenerateApiKeyHandler(db))
r.Patch("/user/apikeys", handlers.UpdateApiKeyLabelHandler(db))