Hi All,
I have a flow which triggers when a site page is created/modified. There is a column called "Published Date" I want to update the "Modified Date" to "Published Date". so any changes if user makes.. Published date will remain same.
In flow I'm using "Send an HTTP request to SharePoint" action with POST method and API is (_api/web/lists/getBytitle('Site%20Pages')/items({ID})/validateUpdateListItem). Please find the below snapshot of action.
Reference Link : http://johnliu.net/blog/2019/2/flowninja-hack-78-modifying-modified-by-and-modified-time-with-microsoft-flow

ISSUE : The flow is working fine and it updates the "Modified Date" to "Published Date" but it creates a minor version not major verison or updating on same version.