mirror of
https://github.com/SoDOff-Project/sodoff.git
synced 2025-10-11 16:28:50 -07:00
Added [FromForm] string apiKey
Ty HaiFire again!
This commit is contained in:
parent
f00fcb32f2
commit
7592130db9
@ -514,7 +514,7 @@ public class ContentController : Controller {
|
||||
[Produces("application/xml")]
|
||||
[Route("ContentWebService.asmx/CreateRaisedPet")] // used by SoD 1.6
|
||||
[VikingSession]
|
||||
public RaisedPetData? CreateRaisedPet(Viking viking, int petTypeID) {
|
||||
public RaisedPetData? CreateRaisedPet([FromForm] string apiKey, Viking viking, int petTypeID) {
|
||||
// Update the RaisedPetData with the info
|
||||
String dragonId = Guid.NewGuid().ToString();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user