attachments: Should be /attachment, not /fetchAttachment
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user