Skip to content

Commit

Permalink
fix: An unsaved refactor breaks a method.
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-coster committed Jul 6, 2021
1 parent f986af1 commit 714cc1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/entities/BravoWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { BravoColumn } from './BravoColumn.js';
import type { ArrayMatchFunction } from '$/types/Utility.js';
import type {
FavroApiGetCardsBase,
FavroApiPostCard,
FavroApiParamsCardCreate,
} from '$/types/FavroCardTypes.js';
import type { BravoCard } from './BravoCard.js';

Expand Down Expand Up @@ -90,7 +90,7 @@ export class BravoWidget extends BravoEntity<DataFavroWidget> {
}, options);
}

async createCard(data: Omit<FavroApiPostCard, 'widgetCommonId'>) {
async createCard(data: Omit<FavroApiParamsCardCreate, 'widgetCommonId'>) {
return await this._client.createCard({
...data,
widgetCommonId: this.widgetCommonId,
Expand Down

0 comments on commit 714cc1d

Please sign in to comment.