Determine group for public apis 20230816
Implemented the following:
"Looking at the public APIs, I feel we should make some fixes:
-
docmap
should take agroupName
rather than agroupId
, as the ID is not displayed anywhere in the app and is thus difficult for someone to supply -
manuscriptsPublishedSinceDate
should take agroupName
parameter in the same way. - All these APIs that take a
groupName
parameter should allow that param to be omitted if there is only one non-archived group. Current logic allows it to be omitted only if there is only one group."
Also fixed a crash when trying to submit a decision if no email template is configured to notify of decision.