UNPKG

@transcend-io/typescript-webhook-example

Version:

Example of a webhook that can be integrated with Transcend.

22 lines 569 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.lookUpUser = void 0; /** * Look inside a database and return the person's user profiles * * @param userIdentifier - User identifier to lookup * @returns User data */ function lookUpUser(userIdentifier) { return [ { profileId: userIdentifier, profileData: { name: 'Ben Farrell', interests: 'Privacy Tech', }, }, ]; } exports.lookUpUser = lookUpUser; //# sourceMappingURL=lookUpUser.js.map