mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(editor): Add v1 banner (#6443)
This commit is contained in:
committed by
कारतोफ्फेलस्क्रिप्ट™
parent
85372aabdf
commit
0fe415add2
@@ -148,4 +148,11 @@ export class OwnerController {
|
||||
|
||||
return sanitizeUser(owner);
|
||||
}
|
||||
|
||||
@Post('/dismiss-v1')
|
||||
async dismissBanner() {
|
||||
await this.settingsRepository.saveSetting('ui.banners.v1.dismissed', JSON.stringify(true));
|
||||
|
||||
return { success: true };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user