Skip to content

Commit

Permalink
🐛 change default_menu from 0 to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
yjeong-k committed Dec 7, 2023
1 parent c0e15d7 commit c6429e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/setup/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def test_get_settings_success(self):
self.assertEqual(response.status_code, status.HTTP_200_OK)
data = response.json()
self.assertEqual(data['display_mode'], 0) # 0 is the default value
self.assertEqual(data['default_menu'], 0) # 0 is the default value
self.assertEqual(data['default_menu'], 1) # 1 is the default value



Expand Down
2 changes: 1 addition & 1 deletion backend/setup/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get(self, request):
if not Setting.objects.filter(user=user).exists():
response_data = {
"display_mode": 0,
"default_menu": 0,
"default_menu": 1,
"updated_at": ""
}
else:
Expand Down

0 comments on commit c6429e8

Please sign in to comment.