We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b66771 commit 81d808eCopy full SHA for 81d808e
services/topic.js
@@ -1,7 +1,7 @@
1
import Topic from "#models/topic";
2
import databaseError from "#error/database";
3
4
-export async function addNewAopic(title) {
+export async function addNewTopic(title) {
5
const newTopic = await Topic.create({
6
title,
7
});
0 commit comments