Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
kdudkov committed Feb 5, 2024
1 parent f19bbcf commit 2f56f1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/goatak_server/mission_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ func getMissionContentPutHandler(app *App) func(req *air.Request, res *air.Respo
}
}

res.Status = http.StatusCreated

return res.WriteJSON(makeAnswer(missionType, []*model.MissionDTO{model.ToMissionDTO(mission, app.packageManager, false)}))
}
}
Expand Down

0 comments on commit 2f56f1f

Please sign in to comment.