Skip to content

Commit

Permalink
merge breches
Browse files Browse the repository at this point in the history
  • Loading branch information
dormalk committed Jun 20, 2020
1 parent 4afefb5 commit dc7ccdf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions functions/functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,8 @@ exports.updateAnalitics = functions.https.onRequest((request, response) => {
response.status(200).send('OK');

})
exports.backupvideos = functions.https.onRequest((request,response) => {
admin.database().ref('videos')
.once('value', snapshot => {
admin.database().ref('videos_backup').set(snapshot.val())
response.status(200).send('Ok')
exports.migrateVideosToFirestore = functions.https.onRequest((request,response) => {

})
})

exports.updateVideoDetails = functions.https.onRequest((request,response) => {
Expand Down

0 comments on commit dc7ccdf

Please sign in to comment.