mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-29 17:59:24 +00:00
8 lines
237 B
TypeScript
8 lines
237 B
TypeScript
import { IFunctionRouteHandler } from 'wherehows-web/typings/ember-cli-mirage';
|
|
|
|
export const getDatasetHealth = function(this: IFunctionRouteHandler, { db: { healths } }: any) {
|
|
return {
|
|
health: this.serialize(healths[0])
|
|
};
|
|
};
|