diff --git a/Project2/WebServices/Controllers/API/StoryController.cs b/Project2/WebServices/Controllers/API/StoryController.cs index 1b83a71..c2efe20 100644 --- a/Project2/WebServices/Controllers/API/StoryController.cs +++ b/Project2/WebServices/Controllers/API/StoryController.cs @@ -87,7 +87,7 @@ public List byCategory(Guid token, Guid categoryId) } [HttpGet] - public List byAuthor(Guid token, string authorId) + public List byAuthor(Guid token, Guid authorId) { if (AccountController.isValidReader(token.ToString()) || AccountController.isValidWriter(token.ToString())) {