fix Sub.createdAt -> Sub.created_at generically

This commit is contained in:
keyan 2024-04-05 19:24:31 -05:00
parent 0b07962e1c
commit 9b98843541
1 changed files with 2 additions and 1 deletions

View File

@ -395,7 +395,8 @@ export default {
},
meSubscription: async (sub, args, { me, models }) => {
return sub.meSubscription || sub.SubSubscription?.length > 0
}
},
createdAt: sub => sub.createdAt || sub.created_at
}
}