feat: update onboarding and application flows
This commit is contained in:
@@ -10,7 +10,6 @@ const path = require('path')
|
||||
const { ALERT_TYPE, refList } = require('../index')
|
||||
const { sendNotification } = require('./notifications')
|
||||
|
||||
const bucket = admin.storage().bucket()
|
||||
const COVER_TEMPLATE = 'MUSICLAND_PLAYBACKER'
|
||||
const COVER_OPTION_ID = 'musicland-playbacker'
|
||||
const COVER_SIZE = 1024
|
||||
@@ -147,6 +146,7 @@ async function buildProfileOverlay(profilePictureURL) {
|
||||
}
|
||||
|
||||
async function uploadCover(buffer, targetPath) {
|
||||
const bucket = admin.storage().bucket()
|
||||
const token = crypto.randomUUID()
|
||||
const file = bucket.file(targetPath)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user