diff --git a/interfaces/kits/js/remote_file_share/remotefileshare_n_exporter.cpp b/interfaces/kits/js/remote_file_share/remotefileshare_n_exporter.cpp index a54e3bf7b67944812c023cf4a0b2b7b2ba8f3e03..eceeb26eddb7fc33f43a8a631a6ac3eb12eda2f2 100644 --- a/interfaces/kits/js/remote_file_share/remotefileshare_n_exporter.cpp +++ b/interfaces/kits/js/remote_file_share/remotefileshare_n_exporter.cpp @@ -126,7 +126,7 @@ napi_value CreateSharePath(napi_env env, napi_callback_info info) if (cb.TypeIs(napi_function)) { return NAsyncWorkCallback(env, thisVar, cb).Schedule(procedureName, cbExec, cbComplete).val_; } else { - NError(EINVAL).ThrowErr(env, "Callback funciton error"); + NError(EINVAL).ThrowErr(env, "Callback function error"); return nullptr; } } @@ -134,4 +134,4 @@ napi_value CreateSharePath(napi_env env, napi_callback_info info) } } // namespace ModuleRemoteFileShare } // namespace AppFileService -} // namespace OHOS \ No newline at end of file +} // namespace OHOS