Handle promise linting (#5488)
This commit is contained in:
@@ -43,7 +43,7 @@ export default async function subscriptionCreator({
|
||||
|
||||
// If the subscription was deleted, then just restore the existing row.
|
||||
if (subscription.deletedAt && resubscribe) {
|
||||
subscription.restore({ transaction });
|
||||
await subscription.restore({ transaction });
|
||||
|
||||
await Event.create(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user