musarehmani100's picture
Upload folder using huggingface_hub
3206347 verified
const verifyCredentials = async ($) => {
const { data } = await $.http.get(
`/api/laml/2010-04-01/Accounts/${$.auth.data.accountSid}`
);
await $.auth.set({
screenName: `${data.friendly_name} (${$.auth.data.accountSid})`,
});
};
export default verifyCredentials;