forked from MirrorHub/mautrix-whatsapp
Fix provisioning API including jid field at the wrong time
This commit is contained in:
parent
bcfe674fa3
commit
38dd02e788
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ build docker amd64:
|
|||
bridge: env.BEEPER_BRIDGE_TYPE,
|
||||
image: "\(env.CI_REGISTRY_IMAGE):\(env.CI_COMMIT_SHA)-amd64",
|
||||
channel: "INTERNAL",
|
||||
deployNext: true
|
||||
deployNext: false
|
||||
}
|
||||
' | curl "$BEEPER_PROD_ADMIN_API_URL" -H "Content-Type: application/json" -d @-
|
||||
fi
|
||||
|
|
|
@ -178,7 +178,7 @@ func (prov *ProvisioningAPI) Ping(w http.ResponseWriter, r *http.Request) {
|
|||
"management_room": user.ManagementRoom,
|
||||
"conn": nil,
|
||||
}
|
||||
if user.JID.IsEmpty() {
|
||||
if !user.JID.IsEmpty() {
|
||||
wa["jid"] = user.JID.String()
|
||||
}
|
||||
if user.Client != nil {
|
||||
|
|
Loading…
Reference in a new issue