From 2ce49f8baad7bdcaa378876931dc0a619f2f24f5 Mon Sep 17 00:00:00 2001 From: Robi9 Date: Mon, 21 Oct 2024 19:33:59 -0300 Subject: [PATCH] Update urn path --- backends/rapidpro/urn.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/rapidpro/urn.go b/backends/rapidpro/urn.go index 6d19a2fdf..497911c2f 100644 --- a/backends/rapidpro/urn.go +++ b/backends/rapidpro/urn.go @@ -298,7 +298,8 @@ const updateTeamsURN = ` UPDATE contacts_contacturn SET - identity = $1 + identity = $1, + path = $1 WHERE id = $2; @@ -335,7 +336,6 @@ func fullyUpdateContactURN(db *sqlx.Tx, urn *DBContactURN) error { } func updateContactTeamsURN(ctx context.Context, db *sqlx.DB, urnID ContactURNID, newURN string) error { - fmt.Println("NEWURN: ", newURN) _, err := db.ExecContext(ctx, updateTeamsURN, newURN, urnID) if err != nil { logrus.WithError(err).WithField("urn_id", urnID).Error("error updating contact urn")