mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 16:28:50 -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")]
|
//[Produces("application/xml")]
|
||||||
[Route("MissionWebService.asmx/GetBadge")] // old ("step") missions - used by MB and WoJS lands
|
[Route("MissionWebService.asmx/GetBadge")] // old ("step") missions - used by MB and WoJS lands
|
||||||
public IActionResult GetBadge([FromForm] int gameId) {
|
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();
|
return Ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user