Skip to content

Commit

Permalink
api: add missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Sep 12, 2024
1 parent f119f09 commit 510c255
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,7 @@ func (a *api) handlePUTSystemDir(jc jape.Context) {
func (a *api) handlePOSTSystemSQLite3Backup(jc jape.Context) {
if a.sqlite3Store == nil {
jc.Error(errors.New("sqlite3 store not available"), http.StatusNotFound)
return
}

var req BackupRequest
Expand Down

0 comments on commit 510c255

Please sign in to comment.