Skip to content

Commit

Permalink
fix: latest kide api chagnes fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
KasperiP committed Nov 7, 2023
1 parent 795e74e commit d5323a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kiderat",
"private": true,
"version": "0.0.15",
"version": "0.0.16",
"type": "module",
"license": "GPL-3.0",
"description": "Kiderat is a desktop application for reserving Kide.app tickets.",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/apiReserveTicket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const apiReserveTicket = async (
{
headers: {
authorization: `Bearer ${reverseString(accessToken)}`,
'x-requested-Token': requestId,
'x-requested-Token-28': requestId,
},
}
);
Expand Down
2 changes: 1 addition & 1 deletion src/utils/getRequestedId.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { reverseString } from './reverseString';

export function getRequestId(inventoryId: string): string {
const hash = reverseString(')c_1PMZHlrvG/eb.utuoy//:sptth(][');
const hash = reverseString(')Uuv4RGDq225/eb.utuoy//:sptth(][');
return btoa(
[...inventoryId.replace(/-/g, '')]
.map((char, i) =>
Expand Down

0 comments on commit d5323a9

Please sign in to comment.