UpdateIdentity updates an existing identity in the database. Parameters: - identity *model.Identity: A pointer to the Identity model to be updated. Returns: - error: An error if the identity could not be updated.
(identity *model.Identity)
| 126 | // Returns: |
| 127 | // - error: An error if the identity could not be updated. |
| 128 | func (l *LedgerForge) UpdateIdentity(identity *model.Identity) error { |
| 129 | return l.datasource.UpdateIdentity(identity) |
| 130 | } |
| 131 | |
| 132 | // DeleteIdentity deletes an identity by its ID. |
| 133 | // |