Update src/store/modules/profile.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Fine0830 2025-04-22 11:22:58 +08:00 committed by GitHub
parent 0ab7114b2d
commit b3eb8f1a43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,7 +103,7 @@ export const profileStore = defineStore({
return response;
}
this.endpoints = response.data.pods || [];
return response;
return response.data;
},
async getTaskEndpoints(serviceId: string, keyword?: string) {
const response = await graphql.query("queryEndpoints").params({