From 9a2ed2351d7e9fe2e53cb8f99bc0125e8e5ab100 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 2 Dec 2024 14:48:51 +0100 Subject: [PATCH] test --- entrypoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.go b/entrypoint.go index 348c884..362d617 100644 --- a/entrypoint.go +++ b/entrypoint.go @@ -425,7 +425,7 @@ func (r *Request) StoreOne(object map[string]interface{}) (data LibData) { * @param c ...*tools.HTTPCaller * @return data LibData */ -func CopyOne(collection LibDataEnum, object map[string]interface{}, peerID string, groups []string, c ...*tools.HTTPCaller) (data LibData) { +func (r *Request) CopyOne(collection LibDataEnum, object map[string]interface{}, peerID string, groups []string, c ...*tools.HTTPCaller) (data LibData) { defer func() { // recover the panic if r := recover(); r != nil { tools.UncatchedError = append(tools.UncatchedError, errors.New("Panic recovered in CopyOne : "+fmt.Sprintf("%v", r)+" - "+string(debug.Stack())))