fix check
This commit is contained in:
parent
f162d6e748
commit
f2445dd850
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue