mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-16 13:24:36 -04:00
Fixes for passinig institution ID for nordigen
This commit is contained in:
parent
d93e3a77b3
commit
c812be495c
@ -73,6 +73,10 @@ class OneTimeTokenController extends BaseController
|
|||||||
'is_react' => $request->hasHeader('X-REACT') ? true : false,
|
'is_react' => $request->hasHeader('X-REACT') ? true : false,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
if($request->institution_id) {
|
||||||
|
$data['institution_id'] = $request->institution_id;
|
||||||
|
}
|
||||||
|
|
||||||
Cache::put($hash, $data, 3600);
|
Cache::put($hash, $data, 3600);
|
||||||
|
|
||||||
return response()->json(['hash' => $hash], 200);
|
return response()->json(['hash' => $hash], 200);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user