Skip to content
Permalink
Browse files

Fix a type error in MessageList service

  • Loading branch information...
lovett committed May 31, 2019
1 parent de4b0ff commit 0b8877207e63a7c3070d9cff524988826953999b
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/services.ts
@@ -353,10 +353,10 @@ appServices.factory('MessageList', ['$rootScope', '$http', '$window', '$location


fetch() {
$http({
$http<app.ArchiveResponse>({
method: 'GET',
url: 'archive',
}).then((res: angular.IHttpResponse<app.ArchiveResponse>) => {
}).then((res) => {
let receivedMessages: Message[] = [];
let staleMessages: Message[] = [];

0 comments on commit 0b88772

Please sign in to comment.
You can’t perform that action at this time.