Allow CORS origins
This commit is contained in:
@ -42,7 +42,7 @@ func (s *ApiService) GetJournalEntryForDate(ctx context.Context, date string) (d
|
||||
}
|
||||
|
||||
// WriteJournalEntryForDate -
|
||||
func (s *ApiService) WriteJournalEntryForDate(ctx context.Context, date string, journalEntry dashapi.JournalEntry) (dashapi.ImplResponse, error) {
|
||||
func (s *ApiService) WriteJournalEntry(ctx context.Context, journalEntry dashapi.JournalEntry) (dashapi.ImplResponse, error) {
|
||||
journal := s.mapper.JournalApiToDb(journalEntry)
|
||||
s.db.WriteJournalEntry(journal)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user