refactor: Use plural wording for user tweets trigger

This commit is contained in:
Faruk AYDIN
2022-08-31 16:33:51 +03:00
parent abaad7cb82
commit 6537a1c649
4 changed files with 7 additions and 7 deletions

View File

@@ -55,7 +55,7 @@ class Flow extends Base {
.orderBy('created_at', 'desc')
.first();
return (lastExecution as Execution).internalId;
return lastExecution ? (lastExecution as Execution).internalId : null;
}
async $beforeUpdate(