Add extra output

This commit is contained in:
conor 2019-10-21 11:12:32 +02:00
parent c82d26b905
commit 6849e16491

View file

@ -7,7 +7,7 @@ class VouchersController < ApplicationController
@vouchers = Voucher.all
whitelist = `mc-whitelist-users`.gsub("\n", "")
render json: { :vouchers => @vouchers, :whitelist => whitelist }.to_json
render json: { :vouchers => @vouchers, :whitelist => whitelist, :running => "As system command"}.to_json
end
# GET /vouchers/1