Fixing uid generation return.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-03-10 15:28:32 -05:00
parent 67cb81497b
commit 53aeaf9240

View File

@ -474,8 +474,8 @@ Tiddler >> uidGenerator [
self created
ifNotNil: [ tempId := self created hash hex. ]
ifNil: [ tempId := self class nowLocal hash hex ].
self customFields at: 'uid' put: tempId .
^ tempId
^ self customFields at: 'uid' put: tempId .
]
{ #category : #accessing }