import { Systems } from '@tapis/tapis-typescript'; import { apiGenerator, errorDecoder } from '../utils'; const changeOwner = ( params: Systems.ChangeSystemOwnerRequest, basePath: string, jwt: string ) => { const api: Systems.SystemsApi = apiGenerator( Systems, Systems.SystemsApi, basePath, jwt ); return errorDecoder(() => api.changeSystemOwner(params) ); }; export default changeOwner;