Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public onCapabilityRegister(): void {
const registerCommand: ProviderRegisterCommand = {
provider: {
type: this.form.get(TYPE).value,
qualifier: SciParamsEnterComponent.toParams(this.form.get(QUALIFIER) as FormArray),
private: this.form.get(PRIVATE).value,
},
};
Beans.get(MessageClient).publish$(Topics.RegisterProvider, registerCommand).subscribe();
}