rename scheduled state to pending (#300)

This commit is contained in:
woodser 2024-07-17 16:54:15 -04:00 committed by GitHub
parent 7192b899f4
commit 8a81a993fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 17 additions and 17 deletions

View file

@ -1173,13 +1173,13 @@ export default class HavenoClient {
*
* @param {string} tradeId - the id of the trade
*/
async completeTrade(tradeId: string): Promise<void> {
try {
await this._tradesClient.completeTrade(new CompleteTradeRequest().setTradeId(tradeId), {password: this._password});
} catch (e: any) {
throw new HavenoError(e.message, e.code);
}
async completeTrade(tradeId: string): Promise<void> {
try {
await this._tradesClient.completeTrade(new CompleteTradeRequest().setTradeId(tradeId), {password: this._password});
} catch (e: any) {
throw new HavenoError(e.message, e.code);
}
}
/**
* Get all chat messages for a trade.