Fakultas Ilmu Komputer UI

Commit 4115e465 authored by Kefas Satrio Bangkit Solideantyo's avatar Kefas Satrio Bangkit Solideantyo
Browse files

[GREEN] add id to user serializer

parent c54864c4
Pipeline #71871 passed with stage
in 6 minutes and 15 seconds
......@@ -6,5 +6,5 @@ class CustomUserDetailsSerializer(serializers.ModelSerializer):
class Meta:
model = CustomUser
fields = ('email',)
read_only_fields = ('email',)
fields = ('id', 'email',)
read_only_fields = ('id', 'email',)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment