fixing reference in storage
This commit is contained in:
@@ -4,7 +4,7 @@ const storage = getStorage();
|
|||||||
|
|
||||||
export const uploadAudioClip = async (uniqueFileName: string, blob: Blob) => {
|
export const uploadAudioClip = async (uniqueFileName: string, blob: Blob) => {
|
||||||
try {
|
try {
|
||||||
const audioClipsRef = ref(storage, `audioClips/${uniqueFileName}`);
|
const audioClipsRef = ref(storage, `content/${uniqueFileName}`);
|
||||||
|
|
||||||
const metadata = {
|
const metadata = {
|
||||||
contentType: blob.type,
|
contentType: blob.type,
|
||||||
|
|||||||
Reference in New Issue
Block a user