style: auto format whole project

This commit is contained in:
Ali BARIN
2022-11-05 23:57:33 +01:00
parent e338770e57
commit 475f24f661
199 changed files with 2421 additions and 1839 deletions

View File

@@ -59,4 +59,4 @@ export default async function createAuthData($: IGlobalVariable) {
await $.auth.set({
url,
});
};
}

View File

@@ -22,14 +22,9 @@ const verifyCredentials = async ($: IGlobalVariable) => {
const {
bot_user_id: botId,
authed_user: {
id: userId,
access_token: userAccessToken,
},
authed_user: { id: userId, access_token: userAccessToken },
access_token: botAccessToken,
team: {
name: teamName,
}
team: { name: teamName },
} = response.data;
await $.auth.set({
@@ -44,7 +39,7 @@ const verifyCredentials = async ($: IGlobalVariable) => {
const currentUser = await getCurrentUser($);
await $.auth.set({
screenName: `${currentUser.real_name} @ ${teamName}`
screenName: `${currentUser.real_name} @ ${teamName}`,
});
};