mirror of
https://github.com/standardnotes/server
synced 2026-09-12 15:45:26 -04:00
fix(domain-core): notification paylod to string casting
This commit is contained in:
@@ -15,10 +15,10 @@ export class NotificationPayload extends ValueObject<NotificationPayloadProps> {
|
||||
return JSON.stringify({
|
||||
version: this.props.version,
|
||||
type: this.props.type.value,
|
||||
primaryIdentifier: this.props.primaryIdentifier,
|
||||
primaryIndentifierType: this.props.primaryIndentifierType,
|
||||
secondaryIdentifier: this.props.secondaryIdentifier,
|
||||
secondaryIdentifierType: this.props.secondaryIdentifierType,
|
||||
primaryIdentifier: this.props.primaryIdentifier.value,
|
||||
primaryIndentifierType: this.props.primaryIndentifierType.value,
|
||||
secondaryIdentifier: this.props.secondaryIdentifier?.value,
|
||||
secondaryIdentifierType: this.props.secondaryIdentifierType?.value,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user