Merge branch 'develop' into feature/cw-3369

This commit is contained in:
Shivam Mishra
2024-06-03 22:51:24 +05:30
committed by GitHub
28 changed files with 789 additions and 108 deletions
+7
View File
@@ -9,6 +9,13 @@ class AccountAPI extends ApiClient {
createAccount(data) {
return axios.post(`${this.apiVersion}/accounts`, data);
}
async getCacheKeys() {
const response = await axios.get(
`/api/v1/accounts/${this.accountIdFromRoute}/cache_keys`
);
return response.data.cache_keys;
}
}
export default new AccountAPI();