refactor: server StoredServer interface

This commit is contained in:
Tristan Yang
2022-06-27 09:24:29 +08:00
parent 212284cd9b
commit 4618afc2ed
3 changed files with 7 additions and 13 deletions
+1 -2
View File
@@ -1,6 +1,6 @@
import { createApi } from "@reduxjs/toolkit/query/react";
import BASE_URL from "../config";
import { updateInfo } from "../slices/server";
import { updateInfo, StoredServer } from "../slices/server";
import baseQuery from "./base.query";
import { RootState } from "../store";
import { User } from "../../types/auth";
@@ -9,7 +9,6 @@ import {
GoogleAuthConfig,
LoginConfig,
Server,
StoredServer,
TestEmailDTO,
NewAdminDTO,
SMTPConfig,