mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Add save
This commit is contained in:
parent
def0f9d669
commit
76b054122a
@ -281,6 +281,7 @@ func handlePageUpdate(c *gin.Context) {
|
|||||||
if json.IsPrimed {
|
if json.IsPrimed {
|
||||||
p.IsPrimedForSelfDestruct = true
|
p.IsPrimedForSelfDestruct = true
|
||||||
}
|
}
|
||||||
|
p.Save()
|
||||||
message = "Saved"
|
message = "Saved"
|
||||||
success = true
|
success = true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user