Skip to content

Commit 8e95bec

Browse files
committed
feat: simple telemetry
1 parent f2fe445 commit 8e95bec

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/server/src/routes/prayerRequestPOST.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { config } from '../config';
66

77
export function prayerRequestPOST(): Router.IMiddleware<unknown, unknown> {
88
return async (ctx, _next) => {
9+
console.log('prayerRequestPOST');
910
// Invokes the method to send emails given the above data with the helper library
1011
try {
1112
const { email, prayFor } = ctx.request.body;

src/server/src/routes/statusGET.ts

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { config } from '../config';
55
export function statusGET(): Router.IMiddleware<unknown, unknown> {
66
return async (ctx, _next) => {
77
try {
8+
console.log('statusGET');
89
const { branchName, gitSha, builtAt } = config;
910
ctx.body = { 'branch-name': branchName, 'git-sha': gitSha, 'built-at': builtAt };
1011
} catch (exc) {

0 commit comments

Comments
 (0)