Skip to content

Commit

Permalink
Fix error in create contact and update rp-apps version (#443)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaslinhares authored Aug 25, 2023
1 parent cff5f5c commit 1be60e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/pip-requires.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ elastic-apm@^6.4.0
flower@^0.9
django-templates-macros@^0.2
django-csp@^3.7
weni-rp-apps@==1.0.33a0
weni-rp-apps@==2.7.7a0
elasticsearch==7.13.4
slack_sdk==3.17.0
dulwich==0.20.45
Expand Down
5 changes: 4 additions & 1 deletion temba/contacts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,10 @@ def __init__(self, *args, **kwargs):
# add all URN scheme fields if org is not anon
extra_fields = []
if not self.org.is_anon:
urns = self.instance.get_urns()
if not self.instance.id:
urns = []
else:
urns = self.instance.get_urns()

idx = 0

Expand Down

0 comments on commit 1be60e3

Please sign in to comment.