Feat: add create brewery post, brewery image upload

Add address autocomplete, using MapBox
This commit is contained in:
Aaron William Po
2023-06-10 22:09:51 -04:00
parent 140abaa5a1
commit aa994f0067
19 changed files with 855 additions and 39 deletions

View File

@@ -11,7 +11,7 @@ interface ProcessImageDataArgs {
userId: string;
}
const processImageDataIntoDB = ({
const addBeerImageToDB = ({
alt,
caption,
files,
@@ -36,4 +36,4 @@ const processImageDataIntoDB = ({
return Promise.all(beerImagePromises);
};
export default processImageDataIntoDB;
export default addBeerImageToDB;