Skip to content

Commit

Permalink
refactor: Docs for Khronos API module; Use new API auth header
Browse files Browse the repository at this point in the history
  • Loading branch information
fearandesire committed Jun 2, 2024
1 parent fa75e65 commit c1a29d3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/utils/api/Khronos/KhronosInstances.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// noinspection ES6PreferShortImport

/**
* @module KhronosApi
* @readonly
* @category KhronosApi
* @description This module is used to establish access to the external API system, Khronos.
* Khronos is the main API used for Pluto and handles most of it's features
*/
import {
AccountsApi,
BetslipsApi,
Expand All @@ -18,7 +23,7 @@ dotenv.config({
export const KH_API_CONFIG = new Configuration({
basePath: `${process.env.KH_API_URL}`,
headers: {
'admin-token': `${process.env.KH_API_TOKEN}`,
'x-api-key': `${process.env.KH_PLUTO_CLIENT_KEY}`,
},
})

Expand Down

0 comments on commit c1a29d3

Please sign in to comment.