chore: remote context.Context pointer (#2448)

remote context.Context pointer
This commit is contained in:
Athurg Gooth
2023-10-26 20:21:44 +08:00
committed by GitHub
parent bfdb33f26b
commit 215981dfde
4 changed files with 5 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ func NewTelegramHandler(store *store.Store) *TelegramHandler {
}
func (t *TelegramHandler) BotToken(ctx context.Context) string {
return t.store.GetSystemSettingValueWithDefault(&ctx, apiv1.SystemSettingTelegramBotTokenName.String(), "")
return t.store.GetSystemSettingValueWithDefault(ctx, apiv1.SystemSettingTelegramBotTokenName.String(), "")
}
const (