mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-23 17:39:59 +00:00
10 lines
282 B
TypeScript
10 lines
282 B
TypeScript
import { IFunctionRouteHandler } from '@datahub/utils/types/vendor/ember-cli-mirage-deprecated';
|
|
|
|
const getDatasetOwners = function(this: IFunctionRouteHandler, { owners }: { owners: any }) {
|
|
return {
|
|
owners: this.serialize(owners.all())
|
|
};
|
|
};
|
|
|
|
export { getDatasetOwners };
|