My Worker isn't finding my secrets

as the title says the worker isn't finding my secret and I've tried global variables and I've used SECRET_STORAGE.get() neither time has it found my secrets. I haven't deployed the worker but the secret is shown when the command
$ wrangler secret list
is used.
I attached a pic of my code.
Screenshot_13.png
Was this page helpful?