fix check

This commit is contained in:
boufni95 2025-04-02 14:46:59 +00:00
parent f162d6e748
commit f2445dd850

View file

@ -90,7 +90,7 @@ export default class webRTC {
try {
const j = JSON.parse(event.data) as Types.SingleMetricReq
const err = Types.SingleMetricReqValidate(j, {
app_id_CustomCheck: id => id === u.appId,
app_id_CustomCheck: id => id !== "",
metrics_name_CustomCheck: name => name !== ""
})
if (err) {