Changeset View
Changeset View
Standalone View
Standalone View
keyserver/src/scripts/move-threads.js
// @flow | // @flow | ||||
import ashoat from 'lib/facts/ashoat.js'; | import ashoat from 'lib/facts/ashoat.js'; | ||||
import { threadTypes } from 'lib/types/thread-types.js'; | import { threadTypes } from 'lib/types/thread-types-enum.js'; | ||||
import { main } from './utils.js'; | import { main } from './utils.js'; | ||||
import { createScriptViewer } from '../session/scripts.js'; | import { createScriptViewer } from '../session/scripts.js'; | ||||
import { updateThread } from '../updaters/thread-updaters.js'; | import { updateThread } from '../updaters/thread-updaters.js'; | ||||
async function moveThreads() { | async function moveThreads() { | ||||
const viewer = createScriptViewer(ashoat.id); | const viewer = createScriptViewer(ashoat.id); | ||||
await updateThread( | await updateThread( | ||||
Show All 24 Lines |