@@ -25,8 +25,8 @@ |
||
25 | 25 | public function issueToken(Request $request) |
26 | 26 | { |
27 | 27 | $app = App::where('app_id', $request->app_id) |
28 | - ->where('app_secret', $request->app_secret) |
|
29 | - ->first(); |
|
28 | + ->where('app_secret', $request->app_secret) |
|
29 | + ->first(); |
|
30 | 30 | |
31 | 31 | if (is_null($app)) { |
32 | 32 | throw new InvalidAppException('Invalid App Info'); |