Skip to content

Commit

Permalink
Use filesystemStore bean instead of hardcoded class
Browse files Browse the repository at this point in the history
  • Loading branch information
wangf1122 committed Nov 6, 2024
1 parent cd50ded commit 999c7c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ private Element loadThumbnail(WxSLayerRegistry layer, Element xml, String schema
Path filename = getMapThumbnail(layer);

// Add downloaded file to metadata store
Store store = context.getBean(FilesystemStore.class);
Store store = context.getBean("filesystemStore", Store.class);
try {
store.delResource(context, layer.uuid, filename.getFileName().toString());
} catch (Exception e) {}
Expand Down

0 comments on commit 999c7c7

Please sign in to comment.