mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-12-04 12:43:10 +01:00
legacyprovision: fix /contacts method
This commit is contained in:
parent
f6809da3be
commit
2db15412b1
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ func main() {
|
|||
if m.Matrix.Provisioning != nil {
|
||||
m.Matrix.Provisioning.Router.HandleFunc("/v1/login", legacyProvLogin).Methods(http.MethodGet)
|
||||
m.Matrix.Provisioning.Router.HandleFunc("/v1/logout", legacyProvLogout).Methods(http.MethodPost)
|
||||
m.Matrix.Provisioning.Router.HandleFunc("/v1/contacts", legacyProvContacts).Methods(http.MethodPost)
|
||||
m.Matrix.Provisioning.Router.HandleFunc("/v1/contacts", legacyProvContacts).Methods(http.MethodGet)
|
||||
m.Matrix.Provisioning.Router.HandleFunc("/v1/resolve_identifier/{number}", legacyProvResolveIdentifier).Methods(http.MethodGet)
|
||||
m.Matrix.Provisioning.Router.HandleFunc("/v1/pm/{number}", legacyProvResolveIdentifier).Methods(http.MethodPost)
|
||||
m.Matrix.Provisioning.GetAuthFromRequest = legacyProvAuth
|
||||
|
|
Loading…
Reference in a new issue