Remove dead code

This commit is contained in:
jaina heartles 2022-07-17 23:13:20 -07:00
parent 11d4a52b2d
commit f28f71c978
1 changed files with 0 additions and 10 deletions

View File

@ -95,16 +95,6 @@ pub const ApiServer = struct {
return note;
}
pub fn createNote(self: *ApiServer, info: CreateInfo(models.Note)) !models.Note {
const id = Uuid.randV4(self.prng.random());
// TODO: check for dupes
const note = reify(models.Note, id, info);
try self.db.insert(models.Note, note);
return note;
}
pub fn createUser(self: *ApiServer, info: CreateInfo(models.User)) !models.User {
const id = Uuid.randV4(self.prng.random());