mirror of
https://github.com/Tribufu/TribufuJS
synced 2026-08-08 12:21:06 +00:00
Fix client headers
This commit is contained in:
parent
2a3c9854e6
commit
c441ff7ff5
3 changed files with 19 additions and 6 deletions
|
|
@ -136,7 +136,7 @@ export class TribufuApi {
|
|||
* Get the default headers for the Tribufu API.
|
||||
* @returns HeaderMap
|
||||
*/
|
||||
private static defaultHeaders(): HttpHeaders {
|
||||
protected static defaultHeaders(): HttpHeaders {
|
||||
const headers = new HttpHeaders();
|
||||
headers.set("X-Tribufu-Language", "javascript");
|
||||
headers.set("X-Tribufu-Version", TRIBUFU_VERSION);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue