People: Abort marker API request if feature is disabled #22
This commit is contained in:
parent
72b517d7c7
commit
5db93bb731
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ func findFileMarker(c *gin.Context) (file entity.File, marker entity.Marker, err
|
|||
|
||||
conf := service.Config()
|
||||
|
||||
if !conf.Settings().Features.Edit {
|
||||
if !conf.Settings().Features.People || !conf.Settings().Features.Edit {
|
||||
AbortFeatureDisabled(c)
|
||||
return file, marker, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue