Skip to content

Commit 21f95de

Browse files
fixed controller name
1 parent b5e7f58 commit 21f95de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/admin/controllers/eg007GetUserProfileByUserId.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
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;
@@ -20,7 +20,7 @@
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.
@@ -68,7 +68,7 @@
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.

0 commit comments

Comments
 (0)