mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
fix(grok): remove obsolete helper
This commit is contained in:
@@ -694,10 +694,3 @@ func (s *OpenAIGatewayService) tempUnscheduleGrok(ctx context.Context, account *
|
||||
_ = s.accountRepo.SetTempUnschedulable(stateCtx, account.ID, until, reason)
|
||||
}
|
||||
}
|
||||
|
||||
func ptrStringOrNil(value string) *string {
|
||||
if strings.TrimSpace(value) == "" {
|
||||
return nil
|
||||
}
|
||||
return &value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user