Skip to content

Commit e1493c7

Browse files
committed
Default to python
1 parent c32ba5f commit e1493c7

File tree

1 file changed

+2
-1
lines changed
  • services/app/apps/codebattle/lib/codebattle

1 file changed

+2
-1
lines changed

services/app/apps/codebattle/lib/codebattle/user.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ defmodule Codebattle.User do
6262
field(:github_id, :integer)
6363
field(:github_name, :string)
6464
field(:is_bot, :boolean, default: false)
65-
field(:lang, :string, default: "js")
65+
field(:lang, :string, default: "python")
6666
field(:name, :string)
6767
field(:password_hash, :string)
6868
field(:public_id, :binary_id)
@@ -134,6 +134,7 @@ defmodule Codebattle.User do
134134
id: @guest_id,
135135
name: "John Doe",
136136
subscription_type: :free,
137+
lang: "python",
137138
rating: 0,
138139
rank: 0,
139140
sound_settings: %SoundSettings{}

0 commit comments

Comments
 (0)