-
Notifications
You must be signed in to change notification settings - Fork 612
fix: uppercase common files #3683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
98946ad
1b773a3
f686e7b
f60c09b
0d9eb10
f5e283f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -15,7 +15,8 @@ const route = createRoute({ | |||||||||||||||||||||||||||||||||||||
| tags: ["analytics"], | ||||||||||||||||||||||||||||||||||||||
| operationId: "getVerifications", | ||||||||||||||||||||||||||||||||||||||
| summary: "Get verification analytics", | ||||||||||||||||||||||||||||||||||||||
| description: "**DEPRECATED**: This API version is deprecated. Please migrate to v2. See https://www.unkey.com/docs/api-reference/v1/migration for more information.", | ||||||||||||||||||||||||||||||||||||||
| description: | ||||||||||||||||||||||||||||||||||||||
| "**DEPRECATED**: This API version is deprecated. Please migrate to v2. See https://www.unkey.com/docs/api-reference/v1/migration for more information.", | ||||||||||||||||||||||||||||||||||||||
| method: "get", | ||||||||||||||||||||||||||||||||||||||
| path: "/v1/analytics.getVerifications", | ||||||||||||||||||||||||||||||||||||||
| security: [{ bearerAuth: [] }], | ||||||||||||||||||||||||||||||||||||||
|
|
@@ -510,9 +511,9 @@ STEP INTERVAL 1 MONTH`, | |||||||||||||||||||||||||||||||||||||
| tags: row.tags, | ||||||||||||||||||||||||||||||||||||||
| identity: row.identityId | ||||||||||||||||||||||||||||||||||||||
| ? { | ||||||||||||||||||||||||||||||||||||||
| id: row.identityId, | ||||||||||||||||||||||||||||||||||||||
| externalId: identitiesById[row.identityId]?.externalId, | ||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||
| id: row.identityId, | ||||||||||||||||||||||||||||||||||||||
| externalId: identitiesById[row.identityId]?.externalId, | ||||||||||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||||||||||
| : undefined, | ||||||||||||||||||||||||||||||||||||||
| })), | ||||||||||||||||||||||||||||||||||||||
|
Comment on lines
512
to
518
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Possible schema violation when
Diff suggesting a defensive guard: - identity: row.identityId
- ? {
- id: row.identityId,
- externalId: identitiesById[row.identityId]?.externalId,
- }
- : undefined,
+ identity:
+ row.identityId && identitiesById[row.identityId]
+ ? {
+ id: row.identityId,
+ externalId: identitiesById[row.identityId].externalId,
+ }
+ : undefined,This ensures we only emit 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||
| ); | ||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.