From 5b28b9c4622a6adf9d49876afad19c9be5e168d1 Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Fri, 27 Dec 2019 13:34:37 +0800 Subject: [PATCH] timeinfo bug --- app/controllers/jupyters_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/jupyters_controller.rb b/app/controllers/jupyters_controller.rb index 6cc78536a..ecb411b36 100644 --- a/app/controllers/jupyters_controller.rb +++ b/app/controllers/jupyters_controller.rb @@ -88,7 +88,7 @@ class JupytersController < ApplicationController def timeinfo_with_tpi myshixun = Myshixun.find_by(identifier: params[:identifier]) - info = jupyter_timeinfo_tpi(shixun) + info = jupyter_timeinfo_tpi(myshixun) render json: {status: 0}.merge(info) end