Commit 0f6c1254 authored by 李尚科's avatar 李尚科

house analysis fix

parent 522573a9
Pipeline #11685 passed with stage
in 4 seconds
...@@ -43,7 +43,7 @@ class HouseAnalysisService extends Service { ...@@ -43,7 +43,7 @@ class HouseAnalysisService extends Service {
const { ctx } = this; const { ctx } = this;
const house_analysis = await ctx.realestateModel.HouseAnalysis.one({ where: { id: house_analysis_id } }); const house_analysis = await ctx.realestateModel.HouseAnalysis.one({ where: { id: house_analysis_id } });
if (!house_analysis || house_analysis.id) { if (!house_analysis || !house_analysis.id) {
ctx.failed('not found'); ctx.failed('not found');
} }
return { return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment