kitsonk / kview

A web app for Deno KV
https://kview.deno.dev
MIT License
69 stars 5 forks source link

fix: change typing and attribute handling for organization details. #7

Closed runelk closed 7 months ago

runelk commented 8 months ago

There's a bug in the orgs route where the projects attribute is undefined (see attached screenshot). The problem stems from a typing error in utils/dash.ts where the result from the API call is nested in an organization attribute (which in turn contains what the route is asking for). I've updated the type for the return value in utils/dash.ts and corrected the attribute handling in the route.

Screenshot 2024-02-12 at 00 54 20