diff --git a/Teknik/Areas/API/Controllers/APIv1Controller.cs b/Teknik/Areas/API/Controllers/APIv1Controller.cs
index 5d42736..2542139 100644
--- a/Teknik/Areas/API/Controllers/APIv1Controller.cs
+++ b/Teknik/Areas/API/Controllers/APIv1Controller.cs
@@ -162,7 +162,7 @@ namespace Teknik.Areas.API.Controllers
[HttpPost]
[AllowAnonymous]
[TrackPageView]
- public ActionResult Paste(string code, string title = "", string syntax = "auto", string expireUnit = "never", int expireLength = 1, string password = "", bool hide = false, bool doNotTrack = false)
+ public ActionResult Paste(string code, string title = "", string syntax = "text", string expireUnit = "never", int expireLength = 1, string password = "", bool hide = false, bool doNotTrack = false)
{
try
{
diff --git a/Teknik/Areas/Help/Views/Help/API/v1/Paste.cshtml b/Teknik/Areas/Help/Views/Help/API/v1/Paste.cshtml
index 13315a8..79cb183 100644
--- a/Teknik/Areas/Help/Views/Help/API/v1/Paste.cshtml
+++ b/Teknik/Areas/Help/Views/Help/API/v1/Paste.cshtml
@@ -1,6 +1,7 @@
@model Teknik.Areas.Help.ViewModels.HelpViewModel
@using Teknik.Helpers
+@using Teknik.Pygments
@Styles.Render("~/Content/help");
@@ -59,16 +60,16 @@
string
{"result":{"id":id, "url":"url", "title":"title", "syntax":"auto-detect", "expiration":"datetime", "password":"password"}}
+ {"result":{"id":id, "url":"url", "title":"title", "syntax":"text", "expiration":"datetime", "password":"password"}}