Skip to content

Commit 7524f8d

Browse files
committed
remove unused case
1 parent 22632aa commit 7524f8d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

govtool/backend/sql/list-dreps.sql

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ DRepData AS (
133133
jsonb_build_object(
134134
'uri', COALESCE(
135135
CASE WHEN jsonb_typeof(ref->'uri') = 'string' THEN ref->>'uri' END,
136-
ref->'uri'->>'@value',
137-
ref->>'@value'
136+
ref->'uri'->>'@value'
138137
),
139138
'@type', ref->>'@type',
140139
'label', COALESCE(
@@ -160,8 +159,7 @@ DRepData AS (
160159
jsonb_build_object(
161160
'uri', COALESCE(
162161
CASE WHEN jsonb_typeof(ref->'uri') = 'string' THEN ref->>'uri' END,
163-
ref->'uri'->>'@value',
164-
ref->>'@value'
162+
ref->'uri'->>'@value'
165163
),
166164
'@type', ref->>'@type',
167165
'label', COALESCE(

0 commit comments

Comments
 (0)