raphael
60888fd63c
- senders, which now have a firebase token are added as their own table in the database - firebase token api call added, which allows a user to connect a sender id to a firebase token - firebase library not yet connected to the saved firebase tokens
13 lines
209 B
Elixir
13 lines
209 B
Elixir
defmodule Bump.Senders do
|
|
alias Bump.Database
|
|
|
|
def firebase(sender, firebase) do
|
|
Database.addSender(sender, %{"firebase" => firebase})
|
|
end
|
|
|
|
def peek(sender) do
|
|
Database.peek(sender)
|
|
end
|
|
|
|
end
|