Skip to content

Commit 5d38bf1

Browse files
committed
Fix tests
1 parent c7594ca commit 5d38bf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Repositories/Repository.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -582,8 +582,8 @@ public function attach(RestifyRequest $request, $repositoryId, Collection $pivot
582582
});
583583

584584
return $this->response()
585-
->data($pivots)
586-
->created();
585+
->created()
586+
->data($pivots);
587587
}
588588

589589
public function detach(RestifyRequest $request, $repositoryId, Collection $pivots)

0 commit comments

Comments
 (0)