Skip to content

Commit df309a0

Browse files
committed
feat: update license key handling to use structured encryption format
1 parent cfe5aa3 commit df309a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/components/SupportPage/data/useCheckLicenseValidity.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default function useCheckLicenseValidity(forceRequest = false) {
2626
proxyRequest<CheckUpdateResponse>({
2727
bodyParams: {
2828
domain: config.SITE_URL,
29-
licenseKey: config.KEY ? `decrypt(${config.KEY})` : ''
29+
licenseKey: config.KEY ? { encryption: 'hmac_decrypt', value: config.KEY } : ''
3030
},
3131
method: 'POST',
3232
url: licenseCheckUrl

0 commit comments

Comments
 (0)