add delete method. refs #1406
[arvados.git] / app / controllers / orvos / v1 / links_controller.rb
index e5177092e13c938a289f4e6af81d9190039f24c6..046f6838f27851df2add5dd975016c1c42a4fa1c 100644 (file)
@@ -1,7 +1,7 @@
 class Orvos::V1::LinksController < ApplicationController
   def index
     if params[:tail_uuid]
-      params[:where] = JSON.parse(params[:where]) if params[:where].is_a?(String)
+      params[:where] = Oj.load(params[:where]) if params[:where].is_a?(String)
       params[:where] ||= {}
       params[:where][:tail_uuid] = params[:tail_uuid]
     end