this doesn't seem to be an async function you don't need to use event.trigger here, you can just return the value right away