MCPcopy Index your code
hub / github.com/AstrBotDevs/AstrBot / check

Function check

dashboard/src/api/v1.ts:658–662  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

656
657export const updatesApi = {
658 check() {
659 return withLegacyFallback<any>(openApiV1.checkUpdate(), () =>
660 httpClient.get<ApiEnvelope<any>>('/api/update/check'),
661 );
662 },
663 releases(type?: 'core' | 'dashboard') {
664 return withLegacyFallback<any[]>(
665 openApiV1.listReleases({

Callers

nothing calls this directly

Calls 3

withLegacyFallbackFunction · 0.85
typedFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected