1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-20 15:21:36 +03:00
leon/scripts/generate/run-generate-http-api-key.js

15 lines
307 B
JavaScript
Raw Normal View History

import { LogHelper } from '@/helpers/log-helper'
2022-01-16 17:22:49 +03:00
import generateHttpApiKey from './generate-http-api-key'
/**
* Execute the generating HTTP API key script
*/
2022-09-03 14:12:41 +03:00
;(async () => {
2022-01-16 17:22:49 +03:00
try {
await generateHttpApiKey()
} catch (e) {
LogHelper.error(`Failed to generate the HTTP API key: ${e}`)
2022-01-16 17:22:49 +03:00
}
})()