提供 gieea webhooks #2

Merged
Ivan merged 3 commits from feat-api-for-webhook into master 2021-03-28 10:24:14 +08:00
Showing only changes of commit bd045c6abe - Show all commits

View File

@ -16,6 +16,12 @@ export class SanitizePipe implements PipeTransform {
return value;
}
value = Object.assign(new constructorFunction(), value);
sanitize(value);
try {
sanitize(value);
return value;
} catch (err) {
console.error(err);
throw err;
}
}
}