dvcrn / chatgpt-ui

ChatGPT UI with auth, OpenAI, Claude, Gemini support, written in Elixir + LiveView
MIT License
91 stars 18 forks source link

Fixes undefined variable "self" error #9

Closed zingbretsen closed 1 year ago

zingbretsen commented 1 year ago

When I tried to run mix phx.server off a fresh clone I got the following error:

error: undefined variable "self"
  lib/chatgpt_web/live/index.ex:108: ChatgptWeb.IndexLive.handle_error/2

The change here fixed the issue.

dvcrn commented 1 year ago

good catch, thanks! Wonder why I didn't have any issues with this here. Which elixir version did you use?