fix
This commit is contained in:
@@ -19,7 +19,7 @@ export async function getConsents() {
|
||||
if (!response.ok) return []
|
||||
|
||||
const consents = await response.json() as Consent[]
|
||||
consents.forEach((consent: Consent) => {
|
||||
consents?.forEach((consent: Consent) => {
|
||||
consent.isRevokable = consent.client_id !== process.env.CLIENT_ID
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user