Skip to content

Commit

Permalink
Merge pull request #51 from taronaeo/refactor/get-password-file-ext
Browse files Browse the repository at this point in the history
refactor(functions): add file ext return in getPassword function
  • Loading branch information
taronaeo authored Feb 6, 2024
2 parents 63dfc02 + 38a2d3e commit e14140a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/functions/src/https/onCall/file/getPassword.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const https_onCall_getPassword = onCall<CFCallableGetPasswordRequest>(

return {
fileId: fsFileData.file_id,
fileExt: fsFileData.file_ext,
fileEncryptionHash: fsFileData.file_encryption_hash,
};
} catch (error) {
Expand Down
1 change: 1 addition & 0 deletions packages/shared/models/CFCallableGetPassword.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ interface CFCallableGetPasswordRequest extends CFCallableBase {

interface CFCallableGetPasswordResponse {
fileId: string;
fileExt: string;
fileEncryptionHash: string;
}

Expand Down

0 comments on commit e14140a

Please sign in to comment.