1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-11 01:22:48 +00:00

switched to gin - use logrus

This commit is contained in:
2018-02-06 18:54:13 +00:00
parent 74976de6cf
commit 5b6d74149d
12 changed files with 116 additions and 212 deletions

View File

@@ -82,7 +82,7 @@ export class Soundboard extends React.Component<Props, State> {
formData.append("file", file);
formData.append("password", this.state.password);
axios.put("/api/upload", formData, this.config)
axios.post("/api/upload", formData, this.config)
.then(() => {
this.setState({
password: "",