@cryptotaxi247 / CoPilot / commits / 381545d8

fixed indices page

Taylor committed Oct 5, 2023 at 08:51 UTC 381545d84a4086724a8b6ab433116d507dce6949
2 files changed +2 -2
src/types/auth.d.ts
+1 -1
@@ -9,7 +9,7 @@ export interface RouteMetaAuth {
9 }
10
11 export interface LoginPayload {
12 - username: string
12 + email: string
13 password: string
14 }
15
src/views/socfortress/Indices.vue
+1 -1
@@ -60,7 +60,7 @@ function getIndices() {
60 .getIndices()
61 .then(res => {
62 if (res.data.success) {
63 - indices.value = res.data.indices
63 + indices.value = res.data.indices_stats
64 } else {
65 message.error(res.data?.message || "An error occurred. Please try again later.")
66 }