fix: instance config errors
This commit is contained in:
parent
895fbcd5a7
commit
31ca9e447d
35 changed files with 159 additions and 197 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// types
|
||||
import type { IInstance } from "@plane/types";
|
||||
import type { IInstanceInfo } from "@plane/types";
|
||||
// helpers
|
||||
import { API_BASE_URL } from "@/helpers/common.helper";
|
||||
// services
|
||||
|
|
@ -18,7 +18,7 @@ export class InstanceService extends APIService {
|
|||
});
|
||||
}
|
||||
|
||||
async getInstanceInfo(): Promise<IInstance> {
|
||||
async getInstanceInfo(): Promise<IInstanceInfo> {
|
||||
return this.get("/api/instances/")
|
||||
.then((response) => response.data)
|
||||
.catch((error) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue