diff --git a/cmd/apimain.go b/cmd/apimain.go index 099edf2..2a4d6a7 100644 --- a/cmd/apimain.go +++ b/cmd/apimain.go @@ -161,6 +161,9 @@ func DatabaseAutoUpdate() { } } } + if v.Version < 246 { + db.Exec("update oauths set issuer = 'https://accounts.google.com' where op = 'google' and issuer is null") + } } }