aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/extra-utils/server/debug.ts
blob: 5cf80a5fb367874957c480644a9612628fbec601 (plain) (tree)


















                                                                              
import { makeGetRequest } from '../requests/requests'
import { HttpStatusCode } from '../../core-utils/miscs/http-error-codes'

function getDebug (url: string, token: string) {
  const path = '/api/v1/server/debug'

  return makeGetRequest({
    url,
    path,
    token,
    statusCodeExpected: HttpStatusCode.OK_200
  })
}

// ---------------------------------------------------------------------------

export {
  getDebug
}