Fakultas Ilmu Komputer UI

[REFACTOR] Fix some code

3 jobs for dev-sidiq in 8 minutes and 17 seconds (queued for 5 seconds)
Name Stage Failure
failed
Pylint Linter
        serializer.save()
return JsonResponse(serializer.data, status=HTTPStatus.CREATED)
else:
return JsonResponse(serializer.errors, status=HTTPStatus.BAD_REQUEST) (duplicate-code)

-----------------------------------
Your code has been rated at 8.36/10

ERROR: Job failed: exit code 1