Skip to content

Commit

Permalink
Update storage.js
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaowu authored Jan 30, 2024
1 parent f527670 commit dd4b0dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fcm-starter/firebase/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { deleteObject, getDownloadURL as getStorageDownloadURL, ref, uploadBytes
import { storage } from './firebase';

// Bucket URL from Storage in Firebase Console
const BUCKET_URL = "gs://expensetracker-5501a.appspot.com";
const BUCKET_URL = "";

// Uploads image and returns the storage bucket
export async function uploadImage(image, uid) {
Expand All @@ -43,4 +43,4 @@ export async function deleteImage(bucket) {
// Gets the download URL from the reference URL
export async function getDownloadURL(bucket) {
return await getStorageDownloadURL(ref(storage, bucket));
}
}

0 comments on commit dd4b0dc

Please sign in to comment.