From 0587723a638b2cd19436831bb4f9ff456b760547 Mon Sep 17 00:00:00 2001 From: acnormun Date: Wed, 10 Apr 2024 14:23:53 -0300 Subject: [PATCH] fix: remove async function from fetchfeatured --- src/api/appType.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/appType.js b/src/api/appType.js index 924e335f..94828fe9 100644 --- a/src/api/appType.js +++ b/src/api/appType.js @@ -36,8 +36,8 @@ export default { async deleteApp(appCode, appUuid) { return await request.$http.delete(`${resource}/${appCode}/apps/${appUuid}/`); }, - async fetchFeatured() { - return await request.$http.get(`${resource}/featureds/`).then((r) => r.data); + fetchFeatured() { + return request.$http.get(`${resource}/featureds/`).then((r) => r.data); }, async updateAppConfig(appCode, appUuid, data) { return await request.$http.patch(`${resource}/${appCode}/apps/${appUuid}/configure/`, data);