Get data from webstore settings
import { settings } from '@batlify/mscms-api'
async function settingsData(username: string) {
await settings.get()
.then((result) => {
// Returns webstore settings data (currencies, languages, footer links, etc...)
console.log(result)
})
.catch((e) => {
// Getting webstore settings data failed
console.log("Oops! Something went wrong :/", e)
})
}