Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
Added heartbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
nmashchenko committed Jul 3, 2023
1 parent 209e85b commit 1bcdf38
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions server/src/maintenance/maintenance.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,11 @@ export class MaintenanceController {
return this.maintenanceService.dropDatabase();
else return { status: 'Not authorized to make this request.' };
}

@Get('/heartbeat')
async getHeartBeat(): Promise<StatusResponseDto> {
return {
status: 'All systems are up and working. Have a good day! ⚡️',
};
}
}

0 comments on commit 1bcdf38

Please sign in to comment.