mirror of
https://github.com/fiatjaf/khatru.git
synced 2025-09-18 01:00:29 +02:00
fix(blossom): use io.ReadSeeker in Blossom example
This should fix the failing pipeline test
This commit is contained in:
committed by
fiatjaf_
parent
3f26a1f727
commit
7bfdbb557c
@@ -31,7 +31,7 @@ func main() {
|
||||
fmt.Println("storing", sha256, len(body))
|
||||
return nil
|
||||
})
|
||||
bl.LoadBlob = append(bl.LoadBlob, func(ctx context.Context, sha256 string) (io.Reader, error) {
|
||||
bl.LoadBlob = append(bl.LoadBlob, func(ctx context.Context, sha256 string) (io.ReadSeeker, error) {
|
||||
fmt.Println("loading", sha256)
|
||||
blob := strings.NewReader("aaaaa")
|
||||
return blob, nil
|
||||
|
Reference in New Issue
Block a user