Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/axios/lib/core/Axios.js

    rd565449 r0c6b92a  
    4141    } catch (err) {
    4242      if (err instanceof Error) {
    43         let dummy;
    44 
    45         Error.captureStackTrace ? Error.captureStackTrace(dummy = {}) : (dummy = new Error());
     43        let dummy = {};
     44
     45        Error.captureStackTrace ? Error.captureStackTrace(dummy) : (dummy = new Error());
    4646
    4747        // slice off the Error: ... line
     
    9898    }
    9999
     100    validator.assertOptions(config, {
     101      baseUrl: validators.spelling('baseURL'),
     102      withXsrfToken: validators.spelling('withXSRFToken')
     103    }, true);
     104
    100105    // Set config.method
    101106    config.method = (config.method || this.defaults.method || 'get').toLowerCase();
Note: See TracChangeset for help on using the changeset viewer.