MCPcopy Create free account
hub / github.com/SOS-RS/backend / data

Method data

src/utils/utils.ts:15–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 }
14
15 public get data(): { statusCode: number; message: string; data?: T } {
16 const resp = {
17 statusCode: this.statusCode,
18 message: this.message,
19 data: this.respData,
20 };
21 if (!resp?.data) delete resp.data;
22 return resp;
23 }
24}
25
26function removeNotNumbers(input: string): string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected