Files
signal-platform/frontend/src/api/fundamentals.ts
Dennis Thiessen 61ab24490d
Some checks failed
Deploy / lint (push) Failing after 7s
Deploy / test (push) Has been skipped
Deploy / deploy (push) Has been skipped
first commit
2026-02-20 17:31:01 +01:00

9 lines
245 B
TypeScript

import apiClient from './client';
import type { FundamentalResponse } from '../lib/types';
export function getFundamentals(symbol: string) {
return apiClient
.get<FundamentalResponse>(`fundamentals/${symbol}`)
.then((r) => r.data);
}