diff --git a/files/templates/api.html b/files/templates/api.html index de0bbf53bd..1de23a226a 100644 --- a/files/templates/api.html +++ b/files/templates/api.html @@ -28,7 +28,7 @@

Python example:

	import requests
 
-	headers={"User-Agent": "bot for comments", "Authorization": "access_token_goes_here"}
+	headers={"Authorization": "access_token_goes_here"}
 
 	url="{{SITE_FULL}}/?sort=comments"
 
@@ -43,7 +43,7 @@
 

Aother python example:

	import requests
 
-	headers={"User-Agent": "bot for comments", "Authorization": "access_token_goes_here"}
+	headers={"Authorization": "access_token_goes_here"}
 
 	url="{{SITE_FULL}}/unread"
 
@@ -85,7 +85,7 @@
 

Python example:

	import requests
 
-	headers={"User-Agent": "bot for comments", "Authorization": "access_token_goes_here"}
+	headers={"Authorization": "access_token_goes_here"}
 
 	url="{{SITE_FULL}}/?sort=comments"
 
@@ -100,7 +100,7 @@
 

Aother python example:

	import requests
 
-	headers={"User-Agent": "bot for comments", "Authorization": "access_token_goes_here"}
+	headers={"Authorization": "access_token_goes_here"}
 
 	url="{{SITE_FULL}}/unread"
 
diff --git a/files/templates/header.html b/files/templates/header.html
index 62780a8891..cc7331291b 100644
--- a/files/templates/header.html
+++ b/files/templates/header.html
@@ -66,7 +66,7 @@
 
 			{% if v %}
 				{% if v.notifications_count %}
-					{{v.notifications_count}}
+					{{v.notifications_count}}
 				{% else %}
 					
 				{% endif %}