mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-12-31 12:32:29 +00:00
The variable 'html' was being assigned to store HTML content, which caused Python to treat 'html' as a local variable throughout the function. This prevented access to the 'html' module (imported at the top) within f-strings that referenced html.escape(). Renamed the HTML content variable to 'html_content' to avoid the naming conflict with the html module.
14 lines
310 B
Go
14 lines
310 B
Go
package model
|
|
|
|
type OIDCKey struct {
|
|
ID int `gorm:"column:id;primaryKey;autoIncrement"`
|
|
PrivateKey string `gorm:"column:private_key;not null"`
|
|
CreatedAt int64 `gorm:"column:created_at"`
|
|
UpdatedAt int64 `gorm:"column:updated_at"`
|
|
}
|
|
|
|
func (OIDCKey) TableName() string {
|
|
return "oidc_keys"
|
|
}
|
|
|