diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-07 01:21:06 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-07 01:21:06 -0700 |
| commit | db671d26c43e47b8285d319a0fd758df60d729c7 (patch) | |
| tree | 4cfc7e7b719d246637818e83feb8981255c19c67 /src/lib/utils.ts | |
| parent | e1905622d7d8657aa7cd5bdfe9d06e4fbe40dc70 (diff) | |
| download | mistymountainstherapy-db671d26c43e47b8285d319a0fd758df60d729c7.tar.gz mistymountainstherapy-db671d26c43e47b8285d319a0fd758df60d729c7.zip | |
initial update with nodemailer
Diffstat (limited to 'src/lib/utils.ts')
| -rw-r--r-- | src/lib/utils.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/lib/utils.ts b/src/lib/utils.ts deleted file mode 100644 index 5586b47..0000000 --- a/src/lib/utils.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { supabase } from './supabase'; - -const setImageUrl = (imageSpec) => { - const { publicURL, error } = supabase - .storage - .from('mistymountains') - .getPublicUrl(imageSpec.image); - if (!error) { - return { ...imageSpec, image: publicURL }; - } - return imageSpec; -} - -export default setImageUrl;
\ No newline at end of file |
