We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7de37b8 commit a65a985Copy full SHA for a65a985
1 file changed
docs/frontend/state-management.md
@@ -151,7 +151,7 @@ export const loadPhotos = createAsyncThunk(
151
'media/loadPhotos',
152
async (directories: string[], { rejectWithValue }) => {
153
try {
154
- const photos = await invoke('get_all_images_with_cache', { directories });
+ const photos = await invoke('get_server_path');
155
return photos;
156
} catch (error) {
157
return rejectWithValue(error.message);
0 commit comments