This commit is contained in:
Inhji 2024-11-29 10:43:53 +01:00
parent 257bed5180
commit 7f116952f5

View file

@ -5,10 +5,8 @@ defmodule TestHandler do
def handle_create(_type, %PlugIndie.Post{} = properties, _access_token) do
case properties.type do
:note ->
# Create a new note in the database here
{:ok, :created, "/notes/4711"}
:bookmark ->
{:ok, :created, "/bookmarks/4711"}
end
end