(path: string)
| 129 | } |
| 130 | |
| 131 | async function apiGet(path: string) { |
| 132 | const apiRoot = 'https://api.netlify.com/api/v1/sites'; |
| 133 | const response = await fetch(`${apiRoot}/${path}`).then(res => res.json()); |
| 134 | return response; |
| 135 | } |
| 136 | |
| 137 | export default class GitGateway implements Implementation { |
| 138 | config: Config; |