Skip to content

Commit 558a018

Browse files
committed
fix: fixed character endpoint to lowercase for a proper verification support
1 parent 5899608 commit 558a018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/xivapi.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class XivapiService {
8282
*/
8383
public getCharacter(lodestoneId: number | string, options?: XivapiCharacterOptions,
8484
details?: 'Friends' | 'Achievements' | 'Gearsets' | 'Record' | 'FreeCompany'): Observable<CharacterResponse> {
85-
return this.request<CharacterResponse>(`/Character/${lodestoneId}${details ? '/' + details : ''}`, options);
85+
return this.request<CharacterResponse>(`/character/${lodestoneId}${details ? '/' + details : ''}`, options);
8686
}
8787

8888
/**
@@ -92,7 +92,7 @@ export class XivapiService {
9292
* @param options Options of the request.
9393
*/
9494
public getCharacterVerification(lodestoneId: number | string, options?: XivapiCharacterOptions): Observable<CharacterVerification> {
95-
return this.request<CharacterVerification>(`/Character/${lodestoneId}/verification`, options);
95+
return this.request<CharacterVerification>(`/character/${lodestoneId}/verification`, options);
9696
}
9797

9898
/**

0 commit comments

Comments
 (0)