completionId: cgen-a3b3db1a0f8c458ab88b0805f5011266
cgen-a3b3db1a0f8c458ab88b0805f5011266
This commit is contained in:
parent
6860349916
commit
99983666a2
1 changed files with 13 additions and 0 deletions
|
|
@ -680,6 +680,19 @@ export const aethexProjectService = {
|
|||
throw error;
|
||||
}
|
||||
|
||||
if (data && project.user_id) {
|
||||
try {
|
||||
await aethexNotificationService.createNotification(
|
||||
project.user_id,
|
||||
"success",
|
||||
`🚀 Project Created: ${project.name || "Untitled"}`,
|
||||
"Your new project is ready to go!",
|
||||
);
|
||||
} catch (notifError) {
|
||||
console.warn("Failed to create project notification:", notifError);
|
||||
}
|
||||
}
|
||||
|
||||
return data as AethexProject;
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue