Skip to content

Commit 0b0078b

Browse files
committed
fix character update endpoint
1 parent 2d0b3c3 commit 0b0078b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/server/character.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func updateCharacterRequest(c *gin.Context) {
8989
}
9090

9191
backup(pwd, id)
92-
f, err := getSaveById(id)
92+
f, err := os.Create(pwd + "/" + id + ".sav")
9393
if err != nil {
9494
c.AbortWithStatus(500)
9595
return

0 commit comments

Comments
 (0)