mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
fix(ai): resolve PROVIDERS undefined in profileModalController (agent)
Import `PROVIDERS` from `../services/storageService.js` in `js/ui/profileModalController.js`. This fixes a `ReferenceError` when testing or saving generic S3 storage configurations. The error was caused by using `PROVIDERS.GENERIC` without importing the constant.
This commit is contained in:
1 parent
874c29e41e
commit
b2d5619f78
1 file changed
+1
@@ -38,6 +38,7 @@ import {
|
||||
uploadAttachment,
|
||||
getAttachmentCacheStats,
|
||||
} from "../services/attachmentService.js";
|
||||
import { PROVIDERS } from "../services/storageService.js";
|
||||
import {
|
||||
getLinkPreviewSettings,
|
||||
setLinkPreviewAutoFetch,
|
||||
|
||||
Reference in new issue
Block a user