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