+ );
+}
+
+
+export default TrainSimulator;
\ No newline at end of file
diff --git a/src/lambda/hello.js b/src/lambda/hello.js
index affe921..2c57b6c 100644
--- a/src/lambda/hello.js
+++ b/src/lambda/hello.js
@@ -1,8 +1,10 @@
// this uses the callback syntax, however, we encourage you to try the async/await syntax shown in async-dadjoke.js
export function handler(event, context, callback) {
console.log('queryStringParameters', event.queryStringParameters)
+ let x = (Math.random(1,100) *100);
+ const myMsg = 'Hello Cris, Your number is ' + x;
callback(null, {
statusCode: 200,
- body: JSON.stringify({ msg: 'Hello, World!' }),
+ body: JSON.stringify({ msg: myMsg }),
})
}