/* eslint-disable no-console */ import Tag from "@models/Tag"; import { APIPath, getBackendAPI } from "./backend"; class TagApi { static getTags = async (): Promise => { try { return await getBackendAPI({ path: APIPath.TAGS }); } catch (err) { console.error(err); throw err; } }; } export default TagApi;