in the weeds here, have a pretty big function that I butchered and saved by mistake and could not recover due to browser reloading, thanks
Would hate to write it all by hand again
If the function had previously been saved you can recover the events for it. Depending on when it was last updated you may be able to recover that previous version.
To get a list of all events for a function run:
ts from the version you want to restore run:
Then just copy the body of the query into a new version.