peertube-plugin-livechat/server/lib/diagnostic/backend.ts
2021-04-12 20:25:56 +02:00

10 lines
294 B
TypeScript

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