-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: ⚡ update ping request to include timezone in response
The code changes modify the `app.controller.ts` and `app.service.ts` files in the `be` directory. The changes include updating the `getPing` method in the `AppController` class to accept a `Request` object in addition to the `Response` object. The `getPing` method in the `AppService` class is also updated to accept a `Request` object. The `toZonedTime` function is called with the `req.body['tz']` value or the `process.env['TZ']` value as the timezone parameter. Based on the recent repository commits, it seems that there have been updates related to the ping functionality and user management.
- Loading branch information
1 parent
795ec2b
commit 2ff8f25
Showing
3 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters