Skip to content

Commit dafe82d

Browse files
committed
fix typo
1 parent e72a00e commit dafe82d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/algora/chat/chat.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ defmodule Algora.Chat do
113113
end
114114

115115
def get_or_create_thread(contract) do
116-
case get_thread_for_users([contract.client, contract.contract]) do
116+
case get_thread_for_users([contract.client, contract.contractor]) do
117117
nil -> create_direct_thread(contract.client, contract.contractor)
118118
thread -> {:ok, thread}
119119
end

0 commit comments

Comments
 (0)