add Markers /api/v1/markers

This commit is contained in:
Maksim Pechnikov 2019-10-17 15:26:59 +03:00
commit 66b5d0ff55
9 changed files with 352 additions and 0 deletions

View file

@ -397,4 +397,13 @@ defmodule Pleroma.Factory do
)
}
end
def marker_factory do
%Pleroma.Marker{
user: build(:user),
timeline: "notifications",
lock_version: 0,
last_read_id: "1"
}
end
end