Skip to content

Commit

Permalink
fix(assets): rollback asset event type to uppercase
Browse files Browse the repository at this point in the history
fix(assets): rollback asset event type to uppercase
  • Loading branch information
Passerino committed Dec 7, 2021
2 parents 6a05c20 + 4b1b314 commit 52359cd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Expand Up @@ -16,28 +16,28 @@

### ASSET\_CREATED

**ASSET\_CREATED** = `"asset-created"`
**ASSET\_CREATED** = `"ASSET_CREATED"`

___

### ASSET\_OFFERED

**ASSET\_OFFERED** = `"asset-offered"`
**ASSET\_OFFERED** = `"ASSET_OFFERED"`

___

### ASSET\_OFFER\_CANCELED

**ASSET\_OFFER\_CANCELED** = `"asset-offer-canceled"`
**ASSET\_OFFER\_CANCELED** = `"ASSET_OFFER_CANCELED"`

___

### ASSET\_OFFER\_REJECTED

**ASSET\_OFFER\_REJECTED** = `"asset-offer-rejected"`
**ASSET\_OFFER\_REJECTED** = `"ASSET_OFFER_REJECTED"`

___

### ASSET\_TRANSFERRED

**ASSET\_TRANSFERRED** = `"asset-transfered"`
**ASSET\_TRANSFERRED** = `"ASSET_TRANSFERRED"`
10 changes: 5 additions & 5 deletions src/modules/assets/assets.types.ts
Expand Up @@ -19,9 +19,9 @@ export interface AssetHistory {
}

export enum AssetHistoryEventType {
ASSET_CREATED = "asset-created",
ASSET_OFFERED = "asset-offered",
ASSET_OFFER_CANCELED = "asset-offer-canceled",
ASSET_TRANSFERRED = "asset-transfered",
ASSET_OFFER_REJECTED = "asset-offer-rejected",
ASSET_CREATED = "ASSET_CREATED",
ASSET_OFFERED = "ASSET_OFFERED",
ASSET_OFFER_CANCELED = "ASSET_OFFER_CANCELED",
ASSET_TRANSFERRED = "ASSET_TRANSFERRED",
ASSET_OFFER_REJECTED = "ASSET_OFFER_REJECTED",
}

0 comments on commit 52359cd

Please sign in to comment.