File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010 const validator = require ( 'validator' ) ;
1111 const { getOrganizationId } = require ( "../getOrganizationId.js" ) ;
1212
13- const eg006GetUserProfileByEmail = exports ;
13+ const eg007GetUserProfileByUserId = exports ;
1414 const eg = 'eg007' // This example reference.;
1515 const mustAuthenticate = '/ds/mustAuthenticate' ;
1616 const minimumBufferMin = 3 ;
2020 * @param {object } req Request obj
2121 * @param {object } res Response obj
2222 */
23- eg006GetUserProfileByEmail . createController = async ( req , res ) => {
23+ eg007GetUserProfileByUserId . createController = async ( req , res ) => {
2424 // Step 1. Check the token
2525 // At this point we should have a good token. But we
2626 // double-check here to enable a better UX to the user.
6868 /**
6969 * Form page for this application
7070 */
71- eg006GetUserProfileByEmail . getController = async ( req , res ) => {
71+ eg007GetUserProfileByUserId . getController = async ( req , res ) => {
7272 // Check that the authentication token is ok with a long buffer time.
7373 // If needed, now is the best time to ask the user to authenticate
7474 // since they have not yet entered any information into the form.
You can’t perform that action at this time.
0 commit comments