Skip to content

Commit

Permalink
feat project: console add for test
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 committed Mar 28, 2024
1 parent dae908d commit 0d335ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/frontend/src/api/Project.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,11 @@ export const GenerateProjectTiles = (url, payload) => {
const generateProjectTiles = async (url, payload) => {
try {
const response = await CoreModules.axios.get(url);
console.log(response, 'response-mbtiles');
dispatch(GetTilesList(`${import.meta.env.VITE_API_URL}/projects/tiles_list/${payload}/`));
dispatch(ProjectActions.SetGenerateProjectTilesLoading(false));
} catch (error) {
console.log(error, 'error-mbtiles');
dispatch(ProjectActions.SetGenerateProjectTilesLoading(false));
} finally {
dispatch(ProjectActions.SetGenerateProjectTilesLoading(false));
Expand Down

0 comments on commit 0d335ad

Please sign in to comment.