Private
Public Access
1
0

attachments: Should be /attachment, not /fetchAttachment

This commit is contained in:
2024-04-07 21:25:59 -07:00
parent a1349eff1b
commit 95b358e66e
3 changed files with 3 additions and 2 deletions

View File

@@ -442,7 +442,7 @@ func NewMockHTTPServer(config MockHTTPServerConfiguration) *MockHTTPServer {
this.mux.Handle("/pollUpdates", http.HandlerFunc(this.handlePollUpdates))
this.mux.Handle("/sendMessage", http.HandlerFunc(this.handleSendMessage))
this.mux.Handle("/markConversation", http.HandlerFunc(this.handleMarkConversation))
this.mux.Handle("/fetchAttachment", http.HandlerFunc(this.handleFetchAttachment))
this.mux.Handle("/attachment", http.HandlerFunc(this.handleFetchAttachment))
this.mux.Handle("/uploadAttachment", http.HandlerFunc(this.handleUploadAttachment))
this.mux.Handle("/updates", http.HandlerFunc(this.handleUpdates))