Skip to content

Commit a65a985

Browse files
committed
frontend docs updated
1 parent 7de37b8 commit a65a985

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/frontend/state-management.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export const loadPhotos = createAsyncThunk(
151151
'media/loadPhotos',
152152
async (directories: string[], { rejectWithValue }) => {
153153
try {
154-
const photos = await invoke('get_all_images_with_cache', { directories });
154+
const photos = await invoke('get_server_path');
155155
return photos;
156156
} catch (error) {
157157
return rejectWithValue(error.message);

0 commit comments

Comments
 (0)