Skip to content

Commit

Permalink
fix: spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
whilefoo committed Sep 28, 2024
1 parent a0ebf5e commit 4382035
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion static/scripts/shared/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export async function postOrder(params: PostOrderParams) {
return (await response.json()) as ReloadlyOrderResponse;
}

export async function getReedemCode(params: GetRedeemCodeParams) {
export async function getRedeemCode(params: GetRedeemCodeParams) {
const response = await fetch(
`${getApiBaseUrl()}/get-redeem-code?transactionId=${params.transactionId}&signedMessage=${params.signedMessage}&wallet=${params.wallet}&permitSig=${params.permitSig}`,
{
Expand Down
4 changes: 2 additions & 2 deletions static/scripts/ubiquity-dollar/gift-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { app } from "./app-state";
import { ubiquityDollarAllowedChainIds } from "../../../shared/constants";
import { getGiftCardHtml } from "../rewards/gift-cards/gift-card";
import { showTransactionHistory } from "./transaction-history";
import { getOrder, postOrder, getBestCard, getReedemCode } from "../shared/api";
import { getOrder, postOrder, getBestCard, getRedeemCode } from "../shared/api";
import { toaster } from "../rewards/toaster";

const loaderAttribute = "data-loading";
Expand Down Expand Up @@ -247,7 +247,7 @@ export function attachRevealAction(transaction: OrderTransaction) {
}

async function revealRedeemCode(transactionId: number, wallet: string, txHash: string, signedMessage: string) {
const redeemCodes = await getReedemCode({
const redeemCodes = await getRedeemCode({
transactionId: transactionId,
signedMessage: signedMessage,
wallet: wallet,
Expand Down

0 comments on commit 4382035

Please sign in to comment.