Rename Latest DNS response type
This commit is contained in:
parent
a17386eb68
commit
a16b44b43a
@ -116,8 +116,6 @@ const OverviewTabPanel = () => {
|
||||
return () => clearInterval(timerId);
|
||||
}, [onUpdate]);
|
||||
|
||||
console.log(project.deployments)
|
||||
|
||||
// useEffect(() => {
|
||||
// const fetchLiveProdDomain = async () => {
|
||||
// const { domains } = await client.getDomains(project.id, {
|
||||
|
@ -403,8 +403,6 @@ export class GQLClient {
|
||||
},
|
||||
});
|
||||
|
||||
console.log({data})
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
@ -469,7 +467,7 @@ export class GQLClient {
|
||||
return data.verifyTx;
|
||||
}
|
||||
|
||||
async getLatestDNSDataByProjectId(projectId: string): Promise<types.DNSRecordAttributes> {
|
||||
async getLatestDNSDataByProjectId(projectId: string): Promise<types.GetLatestDNSDataResponse> {
|
||||
const { data } = await this.client.query({
|
||||
query: queries.getLatestDNSDataByProjectId,
|
||||
variables: {
|
||||
|
@ -381,7 +381,7 @@ export type AuctionParams = {
|
||||
numProviders: number;
|
||||
};
|
||||
|
||||
export type DNSRecordAttributes = {
|
||||
export type GetLatestDNSDataResponse = {
|
||||
name: string;
|
||||
value: string;
|
||||
request: string;
|
||||
|
Loading…
Reference in New Issue
Block a user