mirror of
https://github.com/stashapp/stash.git
synced 2025-12-07 17:02:38 +01:00
12 lines
263 B
Go
12 lines
263 B
Go
package api
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/stashapp/stash/pkg/manager"
|
|
"github.com/stashapp/stash/pkg/models"
|
|
)
|
|
|
|
func (r *queryResolver) SystemStatus(ctx context.Context) (*models.SystemStatus, error) {
|
|
return manager.GetInstance().GetSystemStatus(), nil
|
|
}
|