feat(pdf-monkey): add pdf-monkey integration

This commit is contained in:
Rıdvan Akca
2024-02-22 17:32:38 +03:00
parent d7893d9a32
commit ced4602501
10 changed files with 3069 additions and 1 deletions

View File

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