datahub/wherehows-web/mirage/helpers/dataset-owners.ts

10 lines
265 B
TypeScript
Raw Normal View History

import { IFunctionRouteHandler } from 'wherehows-web/typings/ember-cli-mirage';
const getDatasetOwners = function(this: IFunctionRouteHandler, { owners }: { owners: any }) {
return {
owners: this.serialize(owners.all())
};
};
export { getDatasetOwners };