Return UUID on response

master
Nick Krichevsky 2019-03-10 15:36:03 -04:00
parent f7988e1162
commit e92aaf4284
1 changed files with 2 additions and 0 deletions

View File

@ -33,4 +33,6 @@ func (server *Webserver) makePaste(w http.ResponseWriter, req *http.Request) {
server.log(logrus.ErrorLevel, req, err)
return
}
w.Write([]byte(paster.Paste.Handle.String()))
}