Revert "Update utils.ts"

This reverts commit a27d4be764.
This commit is contained in:
syuilo 2024-09-22 11:05:34 +09:00
parent e5fd9e004c
commit 3c10abb123
1 changed files with 0 additions and 4 deletions

View File

@ -157,10 +157,6 @@ export const post = async (user: UserToken, params: misskey.Endpoints['notes/cre
const res = await api('notes/create', q, user);
if (res.status !== 200) {
console.log(res);
}
// FIXME: the return type should reflect this fact.
return (res.body ? res.body.createdNote : null)!;
};