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