FCLT#60353 Notificaties nieuwe App via Firebase

svn path=/Website/branches/v2019.2/; revision=45509
This commit is contained in:
Jos Groot Lipman
2020-01-20 12:09:24 +00:00
parent 50f780251a
commit 7a7fe8608a
2 changed files with 4 additions and 3 deletions

View File

@@ -18,9 +18,10 @@ var JSON_Result = true;
<%
protectRequest.validateToken();
var puo_result = putorders.sendAPP(user_key, "Facilitor test notificatie.\nVerstuurd op " + toDateTimeString(new Date(), true));
var msg = "Facilitor {0} test notification\nSent from {1}\nSent to {2} ({3})\nSubmitted at {4}".format(customerId, HTTP.urlzelf(), user.naam(), user_key, toDateTimeString(new Date(), true));
var puo_result = putorders.sendAPP(user_key, msg);
var result = { success: true }
var result = { success: true };
Response.Write(JSON.stringify(result));
%>

View File

@@ -208,7 +208,7 @@ function doHTTP(url, params) // params is sterk vergelijkbaar met p_bedrijfadres
if (params.certificateName)
{
Log2File(1, "Client certificateName= " + params.certificateName);
Log2File(2, "Client certificateName= " + params.certificateName);
http_request.setOption(SXH_OPTION_SELECT_CLIENT_SSL_CERT, params.certificateName);
}