mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Refractor activity pub lib/helpers
This commit is contained in:
parent
eb8b27c93e
commit
5414139835
47 changed files with 844 additions and 498 deletions
|
@ -2,7 +2,7 @@ import { VideoResolution } from '../../../../shared'
|
|||
import { logger } from '../../../helpers'
|
||||
import { database as db } from '../../../initializers/database'
|
||||
import { VideoInstance } from '../../../models'
|
||||
import { sendUpdateVideo } from '../../activitypub/send-request'
|
||||
import { sendUpdateVideo } from '../../activitypub/send/send-update'
|
||||
|
||||
async function process (data: { videoUUID: string, resolution: VideoResolution }, jobId: number) {
|
||||
const video = await db.Video.loadByUUIDAndPopulateAccountAndServerAndTags(data.videoUUID)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue