interactionService->batchLike((array) $request->songs, $request->user()); return response()->json($interactions); } /** * Unlike several songs at once as the currently authenticated user. * * @param BatchInteractionRequest $request * * @return JsonResponse */ public function destroy(BatchInteractionRequest $request) { $this->interactionService->batchUnlike((array) $request->songs, $request->user()); return response()->json(); } }