feat(jotform): add jotform integration

This commit is contained in:
Rıdvan Akca
2024-02-02 16:27:43 +03:00
committed by Ali BARIN
parent 7ace67f906
commit 42f8e635ed
11 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import getCurrentUser from '../common/get-current-user.js';
const verifyCredentials = async ($) => {
const user = await getCurrentUser($);
const screenName = [user.username, user.email].filter(Boolean).join(' @ ');
await $.auth.set({
screenName,
apiKey: $.auth.data.apiKey,
});
};
export default verifyCredentials;