fix(core): update
This commit is contained in:
parent
8144432377
commit
60725ecdcb
@ -28,7 +28,7 @@ A modern approach to talking to the hetzner API.
|
||||
```typescript
|
||||
import hetznerCloud from '@apiclient.xyz/hetznercloud'
|
||||
const myhetznerAccount = new hetznerCloud.HetznerAccount('myToken');
|
||||
const servers = myhetznerAccount.getServers();
|
||||
const servers = await myhetznerAccount.getServers();
|
||||
for (const server of servers) {
|
||||
await server.delete();
|
||||
}
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@apiclient.xyz/hetznercloud',
|
||||
version: '1.0.5',
|
||||
version: '1.0.6',
|
||||
description: 'an unofficial api client for the hetzner cloud api'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user