refactor: render plain text

This commit is contained in:
Shivam Mishra
2025-03-03 17:51:09 +05:30
parent db537b5c86
commit 4a925619a1
@@ -5,9 +5,9 @@ class Facebook::ConfirmController < ApplicationController
@id_to_process = params[:id]
if processing?
render json: { status: 'Processing' }, status: :ok
render plain: 'Processing', status: :ok
else
render json: { status: 'Data Deleted Successfully' }, status: :ok
render plain: 'Data Deleted Successfully', status: :ok
end
end