#277·morgan

Support for promise

Author: thethakuriCreated Jan 22, 2023Updated Dec 1, 2023

I am writing a custom token with async callback method that looks up value in a database. Problem is http request is logged in as [object Promise] for the custom token and doesn't "await" for the value to be resolved. Is there a workaround for this?