Skip to content

Commit

Permalink
Merge pull request #775 from weni-ai/fix/chats-rest-name-error
Browse files Browse the repository at this point in the history
fix: NameError: name 'ChatsRole' is not defined
  • Loading branch information
AlisoSouza authored Oct 17, 2023
2 parents 9930d76 + 169840d commit ce26516
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions connect/api/v1/internal/chats/chats_rest_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

class ChatsRESTClient:
def __init__(self):
from connect.common.models import ChatsRole
self.base_url = settings.CHATS_REST_ENDPOINT
self.authentication_instance = InternalAuthentication()
self.permission_mapper = {
Expand Down

0 comments on commit ce26516

Please sign in to comment.