We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5faa58 commit 87d39fcCopy full SHA for 87d39fc
2 files changed
osbot_fast_api/admin_ui/static/js/admin_ui.js
@@ -236,7 +236,7 @@ export class AdminUI {
236
}
237
238
async generateValue(type = 'uuid') {
239
- return await this.apiCall(`/admin-cookies/api/generate-value?value_type=${type}`);
+ return await this.apiCall(`/admin-cookies/api/generate-value/${type}`);
240
241
242
// Utility Methods
osbot_fast_api/admin_ui/static/js/components/cookie_editor.js
@@ -948,7 +948,7 @@ class CookieEditor extends HTMLElement {
948
949
async generateValue(type) {
950
try {
951
- const response = await fetch(`${this.apiBase}/generate-value?value_type=${type}`);
+ const response = await fetch(`${this.apiBase}/generate-value/${type}`);
952
const result = await response.json();
953
954
if (result.value) {
0 commit comments