Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit 2728c86

Browse files
Rollbacked to the previous for the error happening ion the quiz options
1 parent 234b238 commit 2728c86

File tree

7 files changed

+228
-229
lines changed

7 files changed

+228
-229
lines changed
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
23 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

rewards/urls.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
path("wallet", views.WalletView.as_view(), name="wallet-view"),
99
path('get-user-spin-turn', views.UserSpinTurn.as_view()),
1010
path('add-user-spin-turn', views.UserSpinFree.as_view()),
11-
path("get-user-ttc-turns", views.UserTTCAvailableTurn.as_view()),
12-
path("add-ttc-turn", views.AddUserTTCTurn.as_view()),
11+
path("get-user-ttc-turns", views.userTTCAvailabeTurn.as_view()),
12+
path("add-ttc-turn", views.addUserTTCTurn.as_view()),
1313
path('ttc-turn', views.TTCApiView.as_view()),
1414
path('ttc-user-lose', views.TTCLoseApi.as_view()),
1515
path('monster-hunter-turns', views.MonsterHunterTurn.as_view()),
1616
path('add-monster-hunter', views.AddMonsterHunterApi.as_view()),
17-
path('monster-hunter', views.MonsterHunterApi.as_view()),
18-
path('quiz', views.QuizInQuestions.as_view()),
19-
path('quizApi', views.QuizApi.as_view()),
17+
path('monster-hunter', views.MonsterHunterApi.as_view({'post':'post'})),
18+
path('quiz', views.QuizInQuestions.as_view({'post':'post'})),
19+
path('quizApi', views.QuizApi.as_view({'post':'post'})),
2020
path('addQuizApi', views.AddQuizInApi.as_view()),
2121
path('quizTurns', views.QuizInTurns.as_view()),
2222
path("automatequiz", views.load_questions_from_json_view, name="nothing")
23-
]
23+
]

0 commit comments

Comments
 (0)