mirror of
https://github.com/ClaytonWWilson/CS307-Team24.git
synced 2025-12-16 10:18:48 +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', () => {
|
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: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user