Skip to content

Commit 7758533

Browse files
[MOO-1123]: rename base64encode parameter name (#122)
2 parents ccdff01 + 0cb2dbd commit 7758533

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

packages/jsActions/nanoflow-actions-native/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Fixed
10+
11+
- We have fixed an issue in base64encode action.
12+
913
## [4.0.2] Nanoflow Commons - 2024-1-17
1014

1115
### Removed

packages/jsActions/nanoflow-actions-native/src/other/Base64Encode.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import { Base64 } from "js-base64";
1111
// END EXTRA CODE
1212

1313
/**
14-
* @param {string} base64
14+
* @param {string} stringToEncode
1515
* @returns {Promise.<string>}
1616
*/
17-
export async function Base64Encode(base64: string): Promise<string> {
17+
export async function Base64Encode(stringToEncode: string): Promise<string> {
1818
// BEGIN USER CODE
19-
return Base64.encode(base64);
19+
return Base64.encode(stringToEncode);
2020
// END USER CODE
2121
}

0 commit comments

Comments
 (0)