mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2026-03-10 13:15:05 +00:00
Change storageBucket to variable
This commit is contained in:
@@ -355,7 +355,7 @@ exports.uploadProfileImage = (req, res) => {
|
|||||||
busboy.on('finish', () => {
|
busboy.on('finish', () => {
|
||||||
admin
|
admin
|
||||||
.storage()
|
.storage()
|
||||||
.bucket("twistter-e4649.appspot.com")
|
.bucket(config.storageBucket)
|
||||||
.upload(imageToBeUploaded.filepath, {
|
.upload(imageToBeUploaded.filepath, {
|
||||||
resumable: false,
|
resumable: false,
|
||||||
metadata: {
|
metadata: {
|
||||||
|
|||||||
Reference in New Issue
Block a user