katax-cli 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -759,7 +759,7 @@ import { logger } from '../../shared/logger.utils.js';
|
|
|
759
759
|
export class HelloController {
|
|
760
760
|
async greet(query: HelloQueryData): Promise<Result<{ message: string }, AppError>> {
|
|
761
761
|
const name = query.name || 'World';
|
|
762
|
-
logger.info('Greeting',
|
|
762
|
+
logger.info({ message: 'Greeting', name });
|
|
763
763
|
|
|
764
764
|
return ok({ message: \`Hello, \${name}! Welcome to ${this.config.name} API.\` });
|
|
765
765
|
}
|