mirror of
https://github.com/thomiceli/opengist.git
synced 2025-07-09 17:38:04 +02:00
Save content form on gist create error (#420)
This commit is contained in:
@ -62,6 +62,7 @@ func ProcessCreate(ctx *context.Context) error {
|
||||
Content: escapedValue,
|
||||
})
|
||||
}
|
||||
ctx.SetData("dto", dto)
|
||||
|
||||
err = ctx.Validate(dto)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user