mirror of
https://github.com/gofiber/storage.git
synced 2025-09-27 21:02:20 +08:00
Update cloudflarekv/cloudflarekv.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
@@ -43,7 +43,7 @@ func New(config ...Config) *Storage {
|
|||||||
|
|
||||||
api, err := cloudflare.NewWithAPIToken(cfg.Key)
|
api, err := cloudflare.NewWithAPIToken(cfg.Key)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Println("Error with cloudflare api initialization")
|
return nil, fmt.Errorf("error with cloudflare api initialization: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
storage := &Storage{
|
storage := &Storage{
|
||||||
|
Reference in New Issue
Block a user