Files
automatisch/packages/backend/src/apps/stripe/auth/verify-credentials.ts
2022-11-29 20:06:17 +01:00

13 lines
265 B
TypeScript

import { IGlobalVariable } from '@automatisch/types';
const verifyCredentials = async ($: IGlobalVariable) => {
await $.http.get(
`/v1/events`,
);
await $.auth.set({
screenName: $.auth.data?.displayName,
});
};
export default verifyCredentials;