fetch = async function fetch(options, data) {
    const self = this;
    const apiOptions = buildApiOptions(options, this);

    try {
        const response = await api.postsPublic.browse(apiOptions);

        const related = response.posts[0];

        if (related) {
            return options.fn(related, {data: data});
        } else {
            return options.inverse(self, {data: data});
        }
    } catch (error) {
        logging.error(error);
        data.error = error.message;
        return options.inverse(self, {data: data});
    }
}
@param {*} options
@param {*} data
@returns {Promise<any>}