Skip to content

Commit aa9ff5c

Browse files
authored
chore: fix message error spelling
1 parent 6fb7375 commit aa9ff5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/xlug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export async function createXlug(data: Partial<Xlug>): Promise<Xlug | null> {
1414

1515
if (error)
1616
throw Error(
17-
error.code === "23505" ? "This xlug is alreadt taken, try another one" : "Something went wrong, please try again"
17+
error.code === "23505" ? "This xlug is already taken, try another one" : "Something went wrong, please try again"
1818
);
1919

2020
return xlugData?.[0] ?? null;

0 commit comments

Comments
 (0)