Commits

Sam Day committed f51f6f1

Fix for promise handlers in oauth middleware.

  • Participants
  • Parent commits 2c560a4

Comments (0)

Files changed (1)

File lib/middleware/oauth.js

           else {
             verify(consumer.publicKey);
           }
-        },
-        function (err) {
+        }).fail(function (err) {
           send(401, 'OAuth request not authenticated due to consumer lookup failure: ' + err)
         }
       );