Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
(cherry picked from commit 62a5abc)
  • Loading branch information
Mohammad-Alavi committed Sep 8, 2021
1 parent 1ed3a90 commit 696bae9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Generator/Stubs/transformer.stub
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ class {{class-name}} extends Transformer
{{attributes}}
];

$response = $this->ifAdmin([
return $response = $this->ifAdmin([
'real_id' => ${{_model}}->id,
// 'deleted_at' => ${{_model}}->deleted_at,
], $response);

return $response;
}
}

0 comments on commit 696bae9

Please sign in to comment.