From 9a25116a1561ec8665daceb3d1611d6d2cec9243 Mon Sep 17 00:00:00 2001 From: czyt Date: Thu, 10 Oct 2024 12:50:58 +0800 Subject: [PATCH] fix typo --- sub_configure.go | 2 +- weaver.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sub_configure.go b/sub_configure.go index 2e5ce44..393b571 100644 --- a/sub_configure.go +++ b/sub_configure.go @@ -32,7 +32,7 @@ type subConfig struct { PrivateSubToken string `toml:"private_sub_token"` SubPublishPath string `toml:"sub_publish_path,omitempty"` - SubAuthParamName string `toml:"sub_auth_param_name"` + SubAuthParamName string `toml:"sub_auth_param_name,omitempty"` ResponseOption *responseOption `toml:"response_option,omitempty"` } diff --git a/weaver.toml b/weaver.toml index 5aa2c2c..b9e9604 100644 --- a/weaver.toml +++ b/weaver.toml @@ -34,7 +34,8 @@ private_url_subs = [ ] private_sub_token = "gopher" sub_publish_path = "/subscibe" -authParamName = "ak" +sub_auth_param_name = "x-id" + ["raycat/subConfigureProvider".response_option] update_interval_hours = 8 profile_web_page = "https://x.com"