Skip to content

Commit

Permalink
Update Attribute.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Codexshaper committed Oct 28, 2020
1 parent f013c24 commit ea1aa1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Attribute.php
Expand Up @@ -99,7 +99,7 @@ protected function deleteTerm($attribute_id, $term_id, $options = [])
*/
protected function batchTerm($attribute_id, $data)
{
$return Query::init()
return Query::init()
->setEndpoint("products/attributes/{$attribute_id}/terms")
->batch($data);
}
Expand Down

0 comments on commit ea1aa1a

Please sign in to comment.