Skip to content

Commit

Permalink
POST pins to have correct created by id
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Dec 1, 2021
1 parent 08ca14d commit 48f8424
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/pins/serializers.py
Expand Up @@ -69,6 +69,7 @@ def create(self, validated_data):
user_id=validated_data.get('user_id', None),
organization_id=validated_data.get('organization_id', None),
resource=resource,
created_by_id=validated_data.get('created_by_id'),
)

if not resource:
Expand Down

0 comments on commit 48f8424

Please sign in to comment.