Skip to content

Commit a1b2d91

Browse files
committed
Add deleteContractListener
Signed-off-by: Andrew Richardson <[email protected]>
1 parent 7747948 commit a1b2d91

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/firefly.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,10 @@ export default class FireFly extends HttpBase {
510510
return this.getMany<FireFlyContractListenerResponse[]>('/contracts/listeners', filter, options);
511511
}
512512

513+
async deleteContractListener(id: string, options?: FireFlyDeleteOptions) {
514+
await this.deleteOne(`/contracts/listeners/${id}`, options);
515+
}
516+
513517
getContractAPIListeners(
514518
apiName: string,
515519
eventPath: string,

0 commit comments

Comments
 (0)