refactor: Use plural wording for user tweets trigger

This commit is contained in:
Faruk AYDIN
2022-08-31 19:07:42 +03:00
parent abaad7cb82
commit 6537a1c649
4 changed files with 7 additions and 7 deletions
+1 -1
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(