diff --git a/src/SafeDNS/RecordClient.php b/src/SafeDNS/RecordClient.php index 2ac832e4..476bff4f 100644 --- a/src/SafeDNS/RecordClient.php +++ b/src/SafeDNS/RecordClient.php @@ -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, ]); } }