Add two preference edit api.
This commit is contained in:
@ -22,8 +22,8 @@ func (this *PreferenceDao) Fetch() *Preference {
|
||||
if db.Error.Error() == result.DB_ERROR_NOT_FOUND {
|
||||
preference.Name = "EyeblueTank"
|
||||
preference.Version = core.VERSION
|
||||
//Default Office preview url. https://view.officeapps.live.com/op/embed.aspx?src=
|
||||
preference.PreviewConfig = "{}"
|
||||
preference.ScanConfig = "{}"
|
||||
this.Create(preference)
|
||||
return preference
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user