cleanup
This commit is contained in:
parent
257bed5180
commit
7f116952f5
1 changed files with 1 additions and 3 deletions
|
@ -5,10 +5,8 @@ defmodule TestHandler do
|
||||||
def handle_create(_type, %PlugIndie.Post{} = properties, _access_token) do
|
def handle_create(_type, %PlugIndie.Post{} = properties, _access_token) do
|
||||||
case properties.type do
|
case properties.type do
|
||||||
:note ->
|
:note ->
|
||||||
|
# Create a new note in the database here
|
||||||
{:ok, :created, "/notes/4711"}
|
{:ok, :created, "/notes/4711"}
|
||||||
|
|
||||||
:bookmark ->
|
|
||||||
{:ok, :created, "/bookmarks/4711"}
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue