Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const getShabad = shabadId => Shabads
.query()
.where( 'shabads.id', shabadId )
.eager( 'lines' )
.withTransliterations()
.withTranslations()
.then( ( [ shabad ] ) => shabad )