MasoniteFramework / masonite

The Modern And Developer Centric Python Web Framework. Be sure to read the documentation and join the Discord channel for questions: https://discord.gg/TwKeFahmPZ
http://docs.masoniteproject.com
MIT License
2.19k stars 128 forks source link

Cache remember doesn't return the value #780

Closed eaguad1337 closed 7 months ago

eaguad1337 commented 9 months ago

Describe the bug

Cache.remember() stores the data but it doesn't return the value from the callback at the first call.

Expected behaviour

It should return the data that was stored at the first call.

Steps to reproduce the bug

No response

Screenshots

No response

OS

Linux

OS version

Sonoma 14.1.2

Browser

No response

Masonite Version

4.19.1

Anything else ?

No response