fix spelling RequestTrackerService

This commit is contained in:
Фролов 2022-02-08 17:59:18 +05:00
parent 261bad8d29
commit 9f81b4bead
4 changed files with 137 additions and 23141 deletions

23270
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -34,7 +34,7 @@
"react_test": "react-scripts test",
"eject": "react-scripts eject"
},
"proxy": "http://192.168.1.70:5000",
"proxy": "http://46.146.209.148:89/",
"eslintConfig": {
"extends": [
"react-app",

View File

@ -3,7 +3,7 @@ import { memo, useEffect, useState } from 'react'
import LoaderPortal from '@components/LoaderPortal'
import { invokeWebApiWrapperAsync } from '@components/factory'
import { defaultPagination, makeColumn, makeDateSorter, makeStringSorter, Table } from '@components/Table'
import { RequerstTrackerService } from '@api'
import { RequestTrackerService } from '@api'
import { arrayOrDefault, formatDate } from '@utils'
const logRecordCount = 1000
@ -23,7 +23,7 @@ export const VisitLog = memo(() => {
useEffect(() => invokeWebApiWrapperAsync(
async () => {
const logData = arrayOrDefault(await RequerstTrackerService.getUsersStat(logRecordCount))
const logData = arrayOrDefault(await RequestTrackerService.getUsersStat(logRecordCount))
logData.forEach((log) => log.key = `${log.login}${log.ip}`)
setLogData(logData)
},

View File

@ -1 +1 @@
npx openapi -i http://192.168.1.70:5000/swagger/v1/swagger.json -o src/services/api
npx openapi -i http://46.146.209.148/swagger/v1/swagger.json -o src/services/api