Fix review issues in pagination implementation
- Move `import re` to top of file (was inline in function) - Add page parameter validation (page >= 1) - Fix parameter order bug in search_utils.py (was swapped) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -467,7 +467,7 @@ class BasecampSearch:
|
||||
try:
|
||||
# If both recording_id and bucket_id are provided, get comments for that specific recording
|
||||
if recording_id and bucket_id:
|
||||
result = self.client.get_comments(recording_id, bucket_id)
|
||||
result = self.client.get_comments(bucket_id, recording_id)
|
||||
comments = result["comments"]
|
||||
# Otherwise we can't search across all comments as there's no endpoint for that
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user