mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-09 00:56:37 +08:00
refactor(openflare): remove unused About page and API
Delete AboutService and GET /api/v1/d/about since the about page was never implemented in the Wavelet frontend.
This commit is contained in:
@@ -146,13 +146,6 @@ func getNotice(ctx context.Context) (string, error) {
|
||||
return model.OptionValue("Notice"), nil
|
||||
}
|
||||
|
||||
func getAbout(ctx context.Context) (string, error) {
|
||||
if err := EnsureInitialized(ctx); err != nil {
|
||||
return "", err
|
||||
}
|
||||
return model.OptionValue("About"), nil
|
||||
}
|
||||
|
||||
func getStatus(ctx context.Context, baseAPIPath string) (*statusView, error) {
|
||||
if err := EnsureInitialized(ctx); err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user