Fix parsing error
This commit is contained in:
parent
91ff8d2ea1
commit
a4ab7f0294
1 changed files with 1 additions and 1 deletions
|
@ -24,6 +24,6 @@ func (n *NoteAccessLevel) Value() (driver.Value, error) {
|
|||
}
|
||||
|
||||
func (ct *NoteAccessLevel) Scan(value any) error {
|
||||
*ct = NoteAccessLevel(value.(uint8))
|
||||
*ct = NoteAccessLevel(value.(int64))
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue