feat: expose version with healthcheck query
This commit is contained in:
7
packages/backend/src/graphql/queries/healthcheck.ts
Normal file
7
packages/backend/src/graphql/queries/healthcheck.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
const healthcheck = () => {
|
||||
return {
|
||||
version: process.env.npm_package_version,
|
||||
}
|
||||
};
|
||||
|
||||
export default healthcheck;
|
Reference in New Issue
Block a user