README update about current functionality and public pastes saving fix.
This commit is contained in:
1 parent
a8c8f6de36
commit
ec2e885438
2 files changed
+3
-3
No files matched your search
+2
-1
@@ -220,7 +220,8 @@ func pastePOST(ec echo.Context) error {
|
||||
|
||||
// Private paste?
|
||||
paste.Private = false
|
||||
if params["paste-private"][0] == "on" {
|
||||
privateCheckbox, privateCheckboxFound := params["paste-private"]
|
||||
if privateCheckboxFound && privateCheckbox[0] == "on" {
|
||||
paste.Private = true
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user