Skip to content

Commit 9372a6c

Browse files
authored
Merge pull request #6 from codante-io/fix/apiLegadoFeminino
refactor: added underline in resource
2 parents a0d59fd + 929ff88 commit 9372a6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Http/Resources/LegadoFeminino/LegadoFemininoResource.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public function toArray($request)
1818
return [
1919
'id' => $this->id,
2020
'nome' => $this->nome,
21-
'ano_nascimento' => $this->anoNascimento,
22-
'ano_morte' => $this->anoMorte,
21+
'ano_nascimento' => $this->ano_nascimento,
22+
'ano_morte' => $this->ano_morte,
2323
'contribuicao' => $this->contribuicao,
2424
];
2525
}

0 commit comments

Comments
 (0)