fix Sub.createdAt -> Sub.created_at generically
This commit is contained in:
parent
0b07962e1c
commit
9b98843541
|
@ -395,7 +395,8 @@ export default {
|
||||||
},
|
},
|
||||||
meSubscription: async (sub, args, { me, models }) => {
|
meSubscription: async (sub, args, { me, models }) => {
|
||||||
return sub.meSubscription || sub.SubSubscription?.length > 0
|
return sub.meSubscription || sub.SubSubscription?.length > 0
|
||||||
}
|
},
|
||||||
|
createdAt: sub => sub.createdAt || sub.created_at
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue