UpdatedAt
} from 'sequelize-typescript'
import { v4 as uuidv4 } from 'uuid'
+import { setAsUpdated } from '@server/helpers/database-utils'
import { MAccountId, MChannelId } from '@server/types/models'
import { AttributesOnly } from '@shared/core-utils'
import { ActivityIconObject } from '../../../shared/models/activitypub/objects'
}
getWatchUrl () {
- return WEBSERVER.URL + '/videos/watch/playlist/' + this.uuid
+ return WEBSERVER.URL + '/w/p/' + this.uuid
}
getEmbedStaticPath () {
}
setAsRefreshed () {
- this.changed('updatedAt', true)
-
- return this.save()
+ return setAsUpdated('videoPlaylist', this.id)
}
isOwned () {