axios.ts 386 B

1234567891011121314151617
  1. /**
  2. * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. export default {
  6. interceptors: {
  7. response: {
  8. use: () => {},
  9. },
  10. request: {
  11. use: () => {},
  12. },
  13. },
  14. get: async () => ({ status: 200, data: {} }),
  15. delete: async () => ({ status: 200, data: {} }),
  16. post: async () => ({ status: 200, data: {} }),
  17. }