API update.

This commit is contained in:
Maarten Billemont 2019-09-20 15:01:38 -04:00
parent fb7ee6b38a
commit 12166d43c9

View file

@ -488,8 +488,8 @@ void cli_user(Arguments *args, Operation *operation) {
// If no user from mpsites, create a new one.
mpw_free_string( &operation->sitesPath );
mpw_marshal_file_free( &operation->file );
operation->file = mpw_marshal_file( mpw_marshal_user(
operation->fullName, cli_masterKeyProvider_op( operation ), MPAlgorithmVersionCurrent ), NULL );
operation->file = mpw_marshal_file( NULL, mpw_marshal_user(
operation->fullName, cli_masterKeyProvider_op( operation ), MPAlgorithmVersionCurrent ), NULL, NULL );
}
else {