module.exports = createCoreController('api::usermeta.usermeta',({strapi})=>({ async sendOTP(ctx){ try{ console.log(ctx) }catch(error){ console.log(error) } }
What logic should i write here to send otp and update collections in strapi?