From d2446504329900d3ad598259bd04713391bd4ab6 Mon Sep 17 00:00:00 2001 From: whyour Date: Sat, 28 May 2022 20:11:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=A2=E9=98=85=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/services/subscription.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/services/subscription.ts b/back/services/subscription.ts index d93a6007..adc74438 100644 --- a/back/services/subscription.ts +++ b/back/services/subscription.ts @@ -446,7 +446,7 @@ export default class SubscriptionService { public async log(id: number) { const doc = await this.getDb({ id }); - if (!doc) { + if (!doc || !doc.log_path) { return ''; }