mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-29 20:22:04 +08:00
fix: set retention query is fixed
This commit is contained in:
parent
1315b43aad
commit
bbed3fda22
@ -11,7 +11,7 @@ const setRetention = async (
|
|||||||
const response = await axios.post<PayloadProps>(
|
const response = await axios.post<PayloadProps>(
|
||||||
`/settings/ttl?duration=${props.totalDuration}&type=${props.type}${
|
`/settings/ttl?duration=${props.totalDuration}&type=${props.type}${
|
||||||
props.coldStorage
|
props.coldStorage
|
||||||
? `&coldStorage=${props.coldStorage};toColdDuration=${props.toColdDuration}`
|
? `&coldStorage=${props.coldStorage}&toColdDuration=${props.toColdDuration}`
|
||||||
: ''
|
: ''
|
||||||
}`,
|
}`,
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user