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:
@@ -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: "",
|
||||
|
||||
Reference in New Issue
Block a user