Skip to content

Commit

Permalink
Merge pull request #414 from azudindaem/master
Browse files Browse the repository at this point in the history
Fixed predefined label id
  • Loading branch information
Auties00 authored Oct 5, 2023
2 parents f502464 + 4573abe commit 1787c12
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/Store/make-in-memory-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,40 +35,40 @@ export type BaileysInMemoryStoreConfig = {
const makeMessagesDictionary = () => makeOrderedDictionary(waMessageID)

const predefinedLabels = Object.freeze<Record<string, Label>>({
'0': {
id: '0',
name: 'New customer',
predefinedId: '0',
color: 0,
deleted: false
},
'1': {
id: '1',
name: 'New order',
name: 'New customer',
predefinedId: '1',
color: 1,
deleted: false
},
'2': {
id: '2',
name: 'Pending payment',
name: 'New order',
predefinedId: '2',
color: 2,
deleted: false
},
'3': {
id: '3',
name: 'Paid',
name: 'Pending payment',
predefinedId: '3',
color: 3,
deleted: false
},
'4': {
id: '4',
name: 'Order completed',
name: 'Paid',
predefinedId: '4',
color: 4,
deleted: false
},
'5': {
id: '5',
name: 'Order completed',
predefinedId: '5',
color: 5,
deleted: false
}
})

Expand Down

0 comments on commit 1787c12

Please sign in to comment.