@vizioz/teamwork-mcp
Version:
MCP server to connect to the Teamwork.com API
9 lines (8 loc) • 377 B
JavaScript
import { getApiClientForVersion } from '../core/apiClient.js';
export async function getAllocationTime(params) {
const { allocationId, ...queryParams } = params;
const api = getApiClientForVersion('v3');
const response = await api.get(`/allocations/${allocationId}/time.json`, { params: queryParams });
return response.data;
}
export default getAllocationTime;