mirror of
https://github.com/LukeHagar/discoursejs.git
synced 2025-12-10 04:19:47 +00:00
ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.148.0
This commit is contained in:
@@ -15,12 +15,7 @@ Can be used to fetch all categories and subcategories
|
||||
import { SDK } from "@lukehagar/discoursejs";
|
||||
|
||||
async function run() {
|
||||
const sdk = new SDK({
|
||||
security: {
|
||||
key: "<YOUR_API_KEY_HERE>",
|
||||
username: "<YOUR_API_KEY_HERE>",
|
||||
},
|
||||
});
|
||||
const sdk = new SDK();
|
||||
|
||||
const res = await sdk.site.getSite();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user