]>
Commit | Line | Data |
---|---|---|
fae6e4da C |
1 | import { makeGetRequest } from '../requests/requests' |
2 | import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes' | |
3 | ||
4 | function getDebug (url: string, token: string) { | |
5 | const path = '/api/v1/server/debug' | |
6 | ||
7 | return makeGetRequest({ | |
8 | url, | |
9 | path, | |
10 | token, | |
11 | statusCodeExpected: HttpStatusCode.OK_200 | |
12 | }) | |
13 | } | |
14 | ||
15 | // --------------------------------------------------------------------------- | |
16 | ||
17 | export { | |
18 | getDebug | |
19 | } |