Skip to content

Commit

Permalink
Merge pull request #498 from ans-group/phily245-patch-2
Browse files Browse the repository at this point in the history
Fix Record Client Entity Hydration
  • Loading branch information
phily245 authored Jul 18, 2022
2 parents 72b4fa1 + 2bef8ba commit 401410f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/SafeDNS/RecordClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,13 @@ public function destroy(Record $record)
public function loadEntity($data)
{
return new Record([
'id' => $data->id,
'zone' => $data->zone,
'name' => $data->name,
'type' => $data->type,
'content' => $data->content,
'ttl' => $data->ttl,
'id' => $data->id,
'zone' => $data->zone,
'name' => $data->name,
'type' => $data->type,
'content' => $data->content,
'ttl' => $data->ttl,
'priority' => $data->priority,
]);
}
}

0 comments on commit 401410f

Please sign in to comment.