Skip to content

Commit fc5ff71

Browse files
committed
fix: Add skill to valid component types in Supabase download tracking
- Added 'skill' to validTypes array in track-download-supabase.js - Ensures download analytics properly track skill installations - Completes skills integration for web interface and backend
1 parent 62c0fdc commit fc5ff71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/track-download-supabase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function validateComponentData(data) {
2121
return { valid: false, error: 'Component type and name are required' };
2222
}
2323

24-
const validTypes = ['agent', 'command', 'setting', 'hook', 'mcp', 'template'];
24+
const validTypes = ['agent', 'command', 'setting', 'hook', 'mcp', 'skill', 'template'];
2525
if (!validTypes.includes(type)) {
2626
return { valid: false, error: 'Invalid component type' };
2727
}

0 commit comments

Comments
 (0)