From 6217618e6ce29d3df89413828ccc6297035a7e99 Mon Sep 17 00:00:00 2001 From: mr Date: Wed, 4 Mar 2026 12:22:54 +0100 Subject: [PATCH] a.Type --- models/utils/abstracts.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models/utils/abstracts.go b/models/utils/abstracts.go index 9f10f71..1cf5502 100755 --- a/models/utils/abstracts.go +++ b/models/utils/abstracts.go @@ -4,6 +4,7 @@ import ( "crypto/sha256" "encoding/json" "errors" + "fmt" "slices" "time" @@ -250,6 +251,7 @@ func (a *AbstractAccessor[T]) CopyOne(data DBObject) (DBObject, int, error) { } func (a *AbstractAccessor[T]) LoadOne(id string) (DBObject, int, error) { + fmt.Println(a.Type) return GenericLoadOne(id, a.New(), func(d DBObject) (DBObject, int, error) { return d, 200, nil }, a)