Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TejasNair9977 committed Oct 14, 2023
1 parent 1b66771 commit 81d808e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/topic.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Topic from "#models/topic";
import databaseError from "#error/database";

export async function addNewAopic(title) {
export async function addNewTopic(title) {
const newTopic = await Topic.create({
title,
});
Expand Down

0 comments on commit 81d808e

Please sign in to comment.