aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-17 14:20:43 +0100
committerChocobozzz <me@florianbigard.com>2021-12-17 14:27:16 +0100
commit6def7d34e6be805751b3f505b4e1436cc92fba35 (patch)
treec5667b09c461c4869510354c5aba377885f0fe6b /server/tools
parentf304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1 (diff)
downloadPeerTube-6def7d34e6be805751b3f505b4e1436cc92fba35.tar.gz
PeerTube-6def7d34e6be805751b3f505b4e1436cc92fba35.tar.zst
PeerTube-6def7d34e6be805751b3f505b4e1436cc92fba35.zip
Fix migrations
Diffstat (limited to 'server/tools')
-rw-r--r--server/tools/peertube-import-videos.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tools/peertube-import-videos.ts b/server/tools/peertube-import-videos.ts
index 44c42bad6..87aec60ef 100644
--- a/server/tools/peertube-import-videos.ts
+++ b/server/tools/peertube-import-videos.ts
@@ -5,7 +5,8 @@ import { program } from 'commander'
5import { accessSync, constants } from 'fs' 5import { accessSync, constants } from 'fs'
6import { remove } from 'fs-extra' 6import { remove } from 'fs-extra'
7import { join } from 'path' 7import { join } from 'path'
8import { sha256, wait } from '@shared/core-utils' 8import { sha256 } from '@shared/extra-utils'
9import { wait } from '@shared/core-utils'
9import { doRequestAndSaveToFile } from '../helpers/requests' 10import { doRequestAndSaveToFile } from '../helpers/requests'
10import { 11import {
11 assignToken, 12 assignToken,