mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 23:11:12 -05:00
Fix: Resolve TypeScript errors
This commit is contained in:
@@ -29,8 +29,8 @@ export function useVersionComparison(
|
||||
// Use the database function to get diff
|
||||
const { data, error: rpcError } = await supabase.rpc('get_version_diff', {
|
||||
p_entity_type: entityType,
|
||||
p_from_version_id: fromVersionId,
|
||||
p_to_version_id: toVersionId
|
||||
p_from_version_id: fromVersionId || '',
|
||||
p_to_version_id: toVersionId || ''
|
||||
});
|
||||
|
||||
if (rpcError) throw rpcError;
|
||||
|
||||
Reference in New Issue
Block a user