@tapis/tapisui-api
Version:
Typescript library for making api calls with react query
8 lines (7 loc) • 301 B
JavaScript
import { Pods } from '@tapis/tapis-typescript';
import { apiGenerator, errorDecoder } from '../utils';
const getPodLogs = (params, basePath, jwt) => {
const api = apiGenerator(Pods, Pods.LogsApi, basePath, jwt);
return errorDecoder(() => api.getPodLogs(params));
};
export default getPodLogs;