mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-18 23:02:11 +00:00
10 lines
265 B
TypeScript
10 lines
265 B
TypeScript
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 };
|