stash/internal/api/resolver_query_metadata.go

12 lines
229 B
Go

package api
import (
"context"
"github.com/stashapp/stash/internal/manager"
)
func (r *queryResolver) SystemStatus(ctx context.Context) (*manager.SystemStatus, error) {
return manager.GetInstance().GetSystemStatus(), nil
}