impowski
09/08/2018, 3:33 AMUser
type inside a mutation like that:
await ctx.db.mutation.updateUser({
data: {
availableMessages: this.maxMessages // <--- this will represent a variable which will update available messages for user for today
}
})