Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/dbv1/get_developer_apps.sql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions api/dbv1/queries/get_developer_apps.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SELECT
FROM developer_apps da
LEFT JOIN oauth_redirect_uris oau ON oau.client_id = da.address
WHERE
(da.user_id = @user_id OR da.address = @address)
(da.user_id = @user_id OR lower(da.address) = lower(@address))
Comment thread
rickyrombo marked this conversation as resolved.
Outdated
Comment thread
rickyrombo marked this conversation as resolved.
Outdated
AND da.is_current = true
AND da.is_delete = false
GROUP BY da.address, da.user_id, da.name, da.description, da.image_url, da.created_at
Expand All @@ -27,7 +27,7 @@ SELECT
FROM developer_apps
LEFT JOIN grants ON grants.grantee_address = developer_apps.address
WHERE
(grants.user_id = @user_id OR developer_apps.address = @address)
(grants.user_id = @user_id OR lower(developer_apps.address) = lower(@address))
Comment thread
rickyrombo marked this conversation as resolved.
Outdated
AND grants.is_revoked = false
AND grants.is_current = true
AND developer_apps.is_current = true
Expand Down
Loading