Skip to content

Commit

Permalink
fix: remove async function from fetchfeatured
Browse files Browse the repository at this point in the history
  • Loading branch information
acnormun committed Apr 10, 2024
1 parent 3139926 commit 0587723
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/appType.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0587723

Please sign in to comment.