peertube-plugin-livechat/server/lib/diagnostic/backend.ts

10 lines
302 B
TypeScript
Raw Normal View History

import { newResult, TestResult } from './utils'
export async function diagBackend (test: string, _settingsManager: PluginSettingsManager): Promise<TestResult> {
const result = newResult(test)
result.label = 'Backend connection'
result.ok = true
result.next = 'webchat-video'
return result
}