mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 08:18:49 -07:00
GetBadge endpoint bugfix
This commit is contained in:
parent
0e5437c5b7
commit
b005b27d0d
@ -2173,7 +2173,7 @@ public class ContentController : Controller {
|
||||
//[Produces("application/xml")]
|
||||
[Route("MissionWebService.asmx/GetBadge")] // old ("step") missions - used by MB and WoJS lands
|
||||
public IActionResult GetBadge([FromForm] int gameId) {
|
||||
if (gameId == 1) return Ok(XmlUtil.ReadResourceXmlString("missions.badge_wojs_al.xml"));
|
||||
if (gameId == 1) return Ok(XmlUtil.ReadResourceXmlString("missions.badge_wojs_al"));
|
||||
return Ok();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user