Wrong author zoho.crm.createRecord
I'm using a Deluge script to create a note in Leads (Detail). I have created a button with the following function:
notesMap = Map();
notesMap.put("Parent_Id", leadId);
notesMap.put("Note_Content", "Sample Text");
notesMap.put("$se_module", "Leads");
response = zoho.crm.createRecord("Notes", notesMap);
My issue is that the note is being created with the main admin of the account as the author. How can I change it so that the note is authored in the name of the user who initiates the script?