refactor(web): fix types
This commit is contained in:
12
packages/backend/src/apps/slack/auth/is-still-verified.ts
Normal file
12
packages/backend/src/apps/slack/auth/is-still-verified.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import verifyCredentials from './verify-credentials';
|
||||
|
||||
const isStillVerified = async ($: any) => {
|
||||
try {
|
||||
await verifyCredentials($);
|
||||
return true;
|
||||
} catch (error) {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
export default isStillVerified;
|
Reference in New Issue
Block a user