thefrontside / simulacrum

A simulation platform for use during testing, during development and for high-fidelity application previews
85 stars 14 forks source link

fix github api repository query name undefined #263

Closed jbolda closed 1 year ago

jbolda commented 1 year ago

Motivation

A repository query would fail due to a destructured name. This fixes the reference and adds an additional check for matching nameWithOwner.

Approach

The first arg is the request context. The variables required are within the second arg passed to the repository query. Make this adjustment, and also use the owner field for improved matching.

netlify[bot] commented 1 year ago

Deploy Preview for simulacrum canceled.

Name Link
Latest commit db217bc3b0243a4a7444959e63d96b36641a7ce6
Latest deploy log https://app.netlify.com/sites/simulacrum/deploys/6470d20a4f9ea100084bdc02