Skip to main content
The Deno 2 Release Candidate is here
Learn more
method CustomItemService.prototype.addToFleaPriceDb
import { CustomItemService } from "https://deno.land/x/sptaki@1.2.0/services/mod.ts";

Add a price to the in-memory representation of prices.json, used to inform the flea of an items price on the market

Parameters

newItemId: string

id of the new item

fleaPriceRoubles: number

Price of the new item