Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update webapp types #906

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions server/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,8 @@ func (p *Plugin) handlePostCallsChannel(w http.ResponseWriter, r *http.Request)
if res.Err != "" {
return
}

w.Header().Set("Content-Type", "application/json")
if err := json.NewEncoder(w).Encode(storedChannel); err != nil {
p.LogError(err.Error())
}
Expand Down
2 changes: 1 addition & 1 deletion standalone/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions standalone/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
],
"plugin/*": [
"../webapp/src/*"
],
"key-mirror": [
"../webapp/mattermost-webapp/webapp/channels/src/types/external/key-mirror.d.ts"
]
},
},
Expand Down
2 changes: 1 addition & 1 deletion webapp/install_mattermost_webapp.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
readonly COMMITHASH=d2c3710265c293281c2b445d4f72f27871c2e127
readonly COMMITHASH=e972d19d9b4b443a7edf015c3ddca639140de612

echo "\n\nInstalling mattermost-webapp from the mattermost repo, using commit hash $COMMITHASH\n"

Expand Down
238 changes: 185 additions & 53 deletions webapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading