Skip to content

Commit

Permalink
🔨 fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
idinium96 committed Jul 8, 2022
1 parent 3fb2490 commit e831de6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/classes/Pricelist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ export interface KeyPrices {
time: number;
}

interface BuyAndSell {
export interface BuyAndSell {
buy: Currencies;
sell: Currencies;
}
Expand Down
8 changes: 4 additions & 4 deletions src/lib/DiscordWebhook/pricelistUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { UnknownDictionary } from '../../types/common';
import { Webhook, sendWebhook } from './export';

import log from '../logger';
import { Entry } from '../../classes/Pricelist';
import { BuyAndSell } from '../../classes/Pricelist';
import Options from '../../classes/Options';

const australiumImageURL: { [defindex: number]: string } = {
Expand Down Expand Up @@ -1781,9 +1781,9 @@ export default function sendWebHookPriceUpdateV1(
schema: Schema,
options: Options,
sku: string,
time: number,
newPrices: Entry,
oldPrices: Entry | null,
time: string,
newPrices: BuyAndSell,
oldPrices: BuyAndSell,
currentStock: number,
conversion: number,
buyChangesValue: number | null,
Expand Down

0 comments on commit e831de6

Please sign in to comment.