Merge branch 'master' into kd-live

This commit is contained in:
2023-06-23 17:58:56 +09:00
3 changed files with 57 additions and 53 deletions

View File

@ -156,6 +156,10 @@ type serviceDescription struct {
}
func (sh *serviceDescription) isValidToken(apiToken primitive.ObjectID) bool {
if *devflag {
return true
}
if apiToken.IsZero() {
return false
}