Skip to content

Commit 401410f

Browse files
authored
Merge pull request #498 from ans-group/phily245-patch-2
Fix Record Client Entity Hydration
2 parents 72b4fa1 + 2bef8ba commit 401410f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/SafeDNS/RecordClient.php

+7-6
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,13 @@ public function destroy(Record $record)
124124
public function loadEntity($data)
125125
{
126126
return new Record([
127-
'id' => $data->id,
128-
'zone' => $data->zone,
129-
'name' => $data->name,
130-
'type' => $data->type,
131-
'content' => $data->content,
132-
'ttl' => $data->ttl,
127+
'id' => $data->id,
128+
'zone' => $data->zone,
129+
'name' => $data->name,
130+
'type' => $data->type,
131+
'content' => $data->content,
132+
'ttl' => $data->ttl,
133+
'priority' => $data->priority,
133134
]);
134135
}
135136
}

0 commit comments

Comments
 (0)