by pass temp

This commit is contained in:
mr
2026-03-04 13:15:01 +01:00
parent 473dc62660
commit b47b51126a
3 changed files with 4 additions and 6 deletions

View File

@@ -4,7 +4,6 @@ import (
"crypto/sha256"
"encoding/json"
"errors"
"fmt"
"slices"
"time"
@@ -251,7 +250,6 @@ 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)