XylotrechusZ
XylotrechusZ Shell
: /home/mjbynoyq/wazirandsons.pk/wp-content/plugins/brizy/public/editor-client/src/authors/ [ drwxr-xr-x ]
import { getAuthors } from "@/api";
import { t } from "@/utils/i18n";
import { Authors } from "./types";
export const authors: Authors = {
async getAuthors(res, rej, props) {
try {
const content = await getAuthors(props);
res(content);
} catch (e) {
rej(t("Fail to find authors"));
}
}
};