mirror of
https://github.com/netbirdio/management-integrations.git
synced 2026-05-22 17:09:23 -07:00
Add error as return parameter
This commit is contained in:
@@ -8,8 +8,8 @@ import (
|
||||
type IntegratedApprovalImpl struct {
|
||||
}
|
||||
|
||||
func NewIntegratedApproval() *IntegratedApprovalImpl {
|
||||
return &IntegratedApprovalImpl{}
|
||||
func NewIntegratedApproval() (*IntegratedApprovalImpl, error) {
|
||||
return &IntegratedApprovalImpl{}, nil
|
||||
}
|
||||
|
||||
func (v *IntegratedApprovalImpl) PreparePeer(_ string, peer *nbpeer.Peer, _ []string, _ *account.ExtraSettings) *nbpeer.Peer {
|
||||
|
||||
Reference in New Issue
Block a user