fix broken imports

This commit is contained in:
Nate Kelley 2025-03-04 09:49:15 -07:00
parent f4ec4730c5
commit b6af25d5a5
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ export const useDataSourceIndividual = (id: string) => {
payload: { id } payload: { id }
}, },
responseEvent: '/data_sources/get:getDataSource', responseEvent: '/data_sources/get:getDataSource',
options: queryKeys['/data_sources/get:getDataSource'](id) options: queryKeys.datasourceGet(id)
}); });
return { return {

View File

@ -9,7 +9,7 @@ export const useDatasourceUpdate = () => {
emitEvent: '/data_sources/update', emitEvent: '/data_sources/update',
responseEvent: '/data_sources/get:getDataSource', responseEvent: '/data_sources/get:getDataSource',
callback: (newData, currentData, variables) => { callback: (newData, currentData, variables) => {
const options = queryKeys['/data_sources/get:getDataSource'](newData.id); const options = queryKeys.datasourceGet(newData.id);
queryClient.setQueryData(options.queryKey, newData); queryClient.setQueryData(options.queryKey, newData);
return currentData; return currentData;
} }