1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-28 20:10:11 +00:00

Compare commits

..

No commits in common. "5ba40cd6f8dc70b2cdfccacae6290e9318336600" and "35a0be6a2c0c0a7d59d909c8fb2c813fa7609696" have entirely different histories.

2 changed files with 2 additions and 4 deletions

4
api.go
View File

@ -454,9 +454,7 @@ func (app *appContext) GetInvites(gc *gin.Context) {
var address string
if app.config.Section("ui").Key("jellyfin_login").MustBool(false) {
app.storage.loadEmails()
if addr := app.storage.emails[gc.GetString("jfId")]; addr != nil {
address = addr.(string)
}
address = app.storage.emails[gc.GetString("jfId")].(string)
} else {
address = app.config.Section("ui").Key("email").String()
}

View File

@ -46,7 +46,7 @@ for bsv in [d for d in local_path.iterdir() if "bs" in d.name]:
with open(css[i], "w") as f:
f.write(
sass.compile(
filename=str(scss[i].resolve()), output_style="expanded", precision=6, omit_source_map_url=True
filename=str(scss[i].resolve()), output_style="expanded", precision=6
)
)
if css[i].exists():