Skip to content

Commit

Permalink
Change post method to create
Browse files Browse the repository at this point in the history
  • Loading branch information
mureytasroc committed Oct 24, 2023
1 parent cbc0538 commit 538c2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/plan/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def get_queryset(self):
},
)

def post(self, request):
def create(self, request):
res = {}
user = request.user
schedule_id = request.data.get("schedule_id")
Expand Down

0 comments on commit 538c2cc

Please sign in to comment.