From bf114b39b7d565273cf3e09e13e91d724b04c370 Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 4 Feb 2025 09:00:55 +0100 Subject: [PATCH] peer is a public data --- models/peer/peer.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/models/peer/peer.go b/models/peer/peer.go index b915c34..4db1c58 100644 --- a/models/peer/peer.go +++ b/models/peer/peer.go @@ -37,6 +37,10 @@ type Peer struct { FailedExecution []PeerExecution `json:"failed_execution" bson:"failed_execution"` // FailedExecution is the list of failed executions, to be retried } +func (ao *Peer) VerifyAuth(request *tools.APIRequest) bool { + return true +} + // AddExecution adds an execution to the list of failed executions func (ao *Peer) AddExecution(exec PeerExecution) { found := false