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