Skip to content

Commit

Permalink
Update aiida_restapi/models.py
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Goscinski <[email protected]>
  • Loading branch information
eimrek and agoscinski authored Nov 20, 2024
1 parent a4911de commit 8d0817b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_restapi/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def from_orm(cls, orm_entity: orm.Group) -> orm.Group:
orm_entity.user_id = query.dict()[0]["fields"]["user_id"]
orm_entity.time = query.dict()[0]["fields"]["time"]

return super().from_orm(obj)
return super().from_orm(orm_entity)


class Group_Post(AiidaModel):
Expand Down

0 comments on commit 8d0817b

Please sign in to comment.