tsk-22: Remove URI from config.TwilioConfig (#27)

Closes #22

Reviewed-on: phoenix/textsender-models#27
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-12-30 23:40:43 +00:00
committed by phoenix
parent 12bf453925
commit 9be6fa9b34
3 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
run: | run: |
echo "Creating version" echo "Creating version"
VERSION="0.0.12" VERSION="0.0.13"
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10) PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
BRANCH_REF="${{ gitea.ref }}" BRANCH_REF="${{ gitea.ref }}"
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3) BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
View File
-2
View File
@@ -7,7 +7,6 @@ import (
type TwilioConfig struct { type TwilioConfig struct {
AccountSID string `json:"auth_sid"` AccountSID string `json:"auth_sid"`
ServiceSID string `json:"service_sid"` ServiceSID string `json:"service_sid"`
URI string `json:"uri"`
AuthToken string `json:"auth_token"` AuthToken string `json:"auth_token"`
Number string `json:"phone_number"` Number string `json:"phone_number"`
} }
@@ -16,7 +15,6 @@ func (config *TwilioConfig) PrintConfig() {
fmt.Println("Twilio config") fmt.Println("Twilio config")
fmt.Println("Account SID:", config.AccountSID) fmt.Println("Account SID:", config.AccountSID)
fmt.Println("Service SID:", config.ServiceSID) fmt.Println("Service SID:", config.ServiceSID)
fmt.Println("URI:", config.URI)
fmt.Println("Auth Token:", config.AuthToken) fmt.Println("Auth Token:", config.AuthToken)
fmt.Println("Number:", config.Number) fmt.Println("Number:", config.Number)
} }