mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-16 13:35:55 +08:00
feat: ttl api integration
This commit is contained in:
parent
8367c106bc
commit
5be1eb58b2
@ -8,9 +8,7 @@ const setRetention = async (
|
||||
props: Props,
|
||||
): Promise<SuccessResponse<PayloadProps> | ErrorResponse> => {
|
||||
try {
|
||||
const response = await axios.post<PayloadProps>(`/settings/ttl`, {
|
||||
props,
|
||||
});
|
||||
const response = await axios.post<PayloadProps>(`/settings/ttl`, props);
|
||||
|
||||
return {
|
||||
statusCode: 200,
|
||||
|
Loading…
x
Reference in New Issue
Block a user