mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-23 01:11:49 +03:00
fix: use value receiver for AuditLogData
This commit is contained in:
@@ -48,6 +48,6 @@ func (d *AuditLogData) Scan(value interface{}) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *AuditLogData) Value() (driver.Value, error) {
|
func (d AuditLogData) Value() (driver.Value, error) {
|
||||||
return json.Marshal(d)
|
return json.Marshal(d)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user