mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
15 lines
299 B
JavaScript
15 lines
299 B
JavaScript
/*
|
|
Set the endpoint videos for requests.
|
|
*/
|
|
|
|
const mongoose = require('mongoose')
|
|
|
|
const Request = mongoose.model('Request')
|
|
|
|
exports.up = function (callback) {
|
|
Request.update({ }, { endpoint: 'videos' }, callback)
|
|
}
|
|
|
|
exports.down = function (callback) {
|
|
throw new Error('Not implemented.')
|
|
}
|