You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting up factotum-server, --webhook endpoint and --no-colour flag can be set so that these are applied to every call to factotum as default values.
At the moment it is blindly appending these args to the end of the factotum factfile-args, which are passed in the JSON body of the POST request. If those args exist in the factfile-args, the args are duplicated and cause the factotum call to fail (only expects one of each, at most).
Change logic - only append the default args from factotum-server if those args are not present in the incoming factfile-args.
The text was updated successfully, but these errors were encountered:
When starting up factotum-server, --webhook endpoint and --no-colour flag can be set so that these are applied to every call to factotum as default values.
At the moment it is blindly appending these args to the end of the factotum factfile-args, which are passed in the JSON body of the POST request. If those args exist in the factfile-args, the args are duplicated and cause the factotum call to fail (only expects one of each, at most).
Change logic - only append the default args from factotum-server if those args are not present in the incoming factfile-args.
The text was updated successfully, but these errors were encountered: